AvailableMap class
Class that holds all the information needed to launch a map
Constructors
- AvailableMap({required String mapName, required MapType mapType, required String icon})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
showDirections(
{required Coords destination, String? destinationTitle, Coords? origin, String? originTitle, List< Waypoint> ? waypoints, DirectionsMode directionsMode = DirectionsMode.driving, Map<String, String> ? extraParams}) → Future<void> -
Launches current map and shows directions to
destination
-
showMarker(
{required Coords coords, required String title, String? description, int? zoom, Map< String, String> ? extraParams}) → Future<void> -
Launches current map and shows marker at
coords
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
dynamic json) → AvailableMap? - Parses json object to AvailableMap