DirectionsAPIApi class

Constructors

DirectionsAPIApi(Dio _dio, Serializers _serializers)
const

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

directions({required String destination, required String origin, num? arrivalTime, num? departureTime, bool? alternatives, String? avoid, String? units, String? waypoints, String? language = 'en', TravelMode? mode, String? region = 'en', String? trafficModel = 'best_guess', String? transitMode, String? transitRoutingPreference, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) Future<Response<DirectionsResponse>>
directions The Directions API is a web service that uses an HTTP request to return JSON or XML-formatted directions between locations. You can receive directions for several modes of transportation, such as transit, driving, walking, or cycling.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited