title: how to get entire object using navParams - Ionic 3 Angular 4
body: <p>currently I am passing data object from one page to another page (in Modal).</p>
  
  <p>I have 8 parameters to pass to the modal view.</p>
  
  <pre><code>this.firstParam = navParams.get("firstPassed");
  this.secondParam = navParams.get("secondPassed");
  .
  .
  .
  this.eightParam = navParams.get("eightPassed");
  </code></pre>
  
  <p>How can I get entire object data using one call</p>
  
  <pre><code>this.data = navParams.getAll(); //something like this
  </code></pre>
  
  <p>I am unable to find a method in a documentation to get an entire object.</p>