MFRoutesService class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fetchDirections(MFLocationComponent origin, MFLocationComponent destination, {List<MFLocationComponent>? waypoints, MFTravelMode mode = MFTravelMode.car, MFRouteWeighting weighting = MFRouteWeighting.fastest, MFLanguageResult language = MFLanguageResult.vi, MFRouteRestriction? restriction})
→ Future<MFDirectionsResult>
-
Get router.
-
fetchDistanceMatrix(List<MFLocationComponent> origins, List<MFLocationComponent> destinations, {MFTravelMode mode = MFTravelMode.car, MFRouteWeighting weighting = MFRouteWeighting.fastest, MFLanguageResult language = MFLanguageResult.vi, MFRouteRestriction? restriction})
→ Future<MFDistanceMatrixResult>
-
The Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations.
-
fetchGraphRoute(List<MFLocationComponent> locations, {MFTravelMode mode = MFTravelMode.car, MFRouteWeighting weighting = MFRouteWeighting.fastest, MFLanguageResult language = MFLanguageResult.vi, MFRouteRestriction? restriction})
→ Future<List<MFGraphRouteResult>>
-
Graph route.
-
fetchRouteETA(List<MFLocationComponent> origins, MFLocationComponent destination, {MFTravelMode mode = MFTravelMode.car, MFRouteWeighting weighting = MFRouteWeighting.fastest, MFLanguageResult language = MFLanguageResult.vi, MFRouteRestriction? restriction})
→ Future<List<MFRouteETAResult>>
-
Estimated time of arrival.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited