openGoogleMapsDirections method

Future<String> openGoogleMapsDirections()

Implementation

Future<String> openGoogleMapsDirections() async {
  print('Geolocation.openGoogleMapsDirections> ...');
  var url = await googleMapsDirectionsURL();
  print('Geolocation.openGoogleMapsDirections> $url');
  // ignore: unsafe_html
  window.open(url, windowID('googlemaps_directions'));
  return url;
}