googleMapsDirectionsURL method

Future<String> googleMapsDirectionsURL()

Implementation

Future<String> googleMapsDirectionsURL() async {
  var currentGeo = await getCurrentGeolocation();

  return 'https://www.google.com/maps/dir/?api=1&origin=${currentGeo.latitude},${currentGeo.longitude}&destination=$latitude,$longitude';
}