title: Navigator.pop with argument
body: <p>I currently have the route</p>
  <pre><code>Navigator.pop(context,&quot;/second&quot;);
  </code></pre>
  <p>However, I need to pass the argument <code>contact</code>. I know this works fine with <code>arguments:</code> for <code>popAndPushNamed</code>, but I'm not sure how to do it for <code>pop/popUntil</code> etc.</p>
  <pre><code>Contact contact = ModalRoute.of(context).settings.arguments;
  </code></pre>
  <p>The code is on an edit page. On the <code>onPress</code>, it directs back to the previous page showing the updated document fields.</p>