openGoogleMaps method

void openGoogleMaps(
  1. Geolocation? geolocation
)

Implementation

void openGoogleMaps(Geolocation? geolocation) {
  if (geolocation == null) return;

  print('openGoogleMaps> openDirections: $openDirections');

  if (openDirections) {
    geolocation.openGoogleMapsDirections();
  } else {
    geolocation.openGoogleMaps();
  }
}