Map coordinates = await Navigator.of(context).pushNamed('/location');
Navigator.of(context).pop({"lat":43.821757,"long":-79.226392});
Handles routing in Flutter and is used to get a result back from a route that you have pushed on the stack.
This is done by awaiting on the Future returned by push().