GoogleMapsDirections 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 Object origin, required Object destination, TravelMode? travelMode, List<Waypoint> waypoints = const <Waypoint>[], bool alternatives = false, List<RouteType> avoids = const <RouteType>[], String? language, Unit? units, String? region, Object? arrivalTime, Object? departureTime, List<TransitMode> transitMode = const <TransitMode>[], TrafficModel? trafficModel, TransitRoutingPreferences? transitRoutingPreference})
→ String
-
-
directions(Object origin, Object destination, {TravelMode? travelMode, List<Waypoint> waypoints = const [], bool alternatives = false, List<RouteType> avoids = const [], String? language, Unit? units, String? region, Object? arrivalTime, Object? departureTime, List<TransitMode> transitMode = const [], TrafficModel? trafficModel, TransitRoutingPreferences? transitRoutingPreference})
→ Future<DirectionsResponse>
-
-
directionsWithAddress(String origin, String destination, {TravelMode? travelMode, List<Waypoint> waypoints = const [], bool alternatives = false, List<RouteType> avoids = const [], String? language, Unit? units, String? region, Object? arrivalTime, Object? departureTime, List<TransitMode> transitMode = const [], TrafficModel? trafficModel, TransitRoutingPreferences? transitRoutingPreference})
→ Future<DirectionsResponse>
-
-
directionsWithLocation(Location origin, Location destination, {TravelMode? travelMode, List<Waypoint> waypoints = const [], bool alternatives = false, List<RouteType> avoids = const [], String? language, Unit? units, String? region, Object? arrivalTime, Object? departureTime, List<TransitMode> transitMode = const [], TrafficModel? trafficModel, TransitRoutingPreferences? transitRoutingPreference})
→ Future<DirectionsResponse>
-
-
dispose()
→ void
-
inherited
-
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