GoogleDistanceMatrix class
Properties
-
no setterinherited
-
apiKey
→ String?
-
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
httpClient
→ Client
-
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
url
→ Uri
-
no setterinherited
Methods
-
buildQuery(Map<String, dynamic> params)
→ String
-
inherited
-
buildUrl({required List<Object> origin, required List<Object> destination, TravelMode? travelMode, String? languageCode, bool alternative = false, String? region, List<RouteType> avoids = const <RouteType>[], Unit? unit, Object? arrivalTime, Object? departureTime, List<TransitMode> transitMode = const [], TrafficModel? trafficModel, TransitRoutingPreferences? transitRoutingPreference})
→ String
-
-
dispose()
→ void
-
inherited
-
distanceWithAddress(List<String> origin, List<String> destination, {TravelMode? travelMode, String? languageCode, bool alternative = false, String? region, RouteType? avoid, List<RouteType> avoids = const <RouteType>[], Unit? unit, Object? arrivalTime, Object? departureTime, List<TransitMode> transitMode = const [], TrafficModel? trafficModel, TransitRoutingPreferences? transitRoutingPreference})
→ Future<DistanceResponse>
-
-
distanceWithLocation(List<Location> origin, List<Location> destination, {TravelMode? travelMode, String? languageCode, bool alternative = false, String? region, RouteType? avoid, List<RouteType> avoids = const <RouteType>[], Unit? unit, Object? arrivalTime, Object? departureTime, List<TransitMode> transitMode = const [], TrafficModel? trafficModel, TransitRoutingPreferences? transitRoutingPreference})
→ Future<DistanceResponse>
-
-
doGet(String url, {})
→ Future<Response>
-
inherited
-
doPost(String url, String body, {})
→ Future<Response>
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited