showDirections method
Opens the map application specified by mapType and shows directions to destination.
mapType: The map application to launch.destination: Coordinates of the destination.destinationTitle: Optional label for the destination.origin: Optional starting point. If omitted, the map app may use the current location.originTitle: Optional label for the origin.waypoints: Optional list of intermediate waypoints along the route.directionsMode: Mode of transport (default is DirectionsMode.driving).extraParams: Extra map-specific query parameters.
Implementation
Future<dynamic> showDirections({
required MapType mapType,
required Coords destination,
String? destinationTitle,
Coords? origin,
String? originTitle,
List<Waypoint>? waypoints,
DirectionsMode? directionsMode = DirectionsMode.driving,
Map<String, String>? extraParams,
}) async {
throw UnimplementedError('showDirections() has not been implemented.');
}