DrivingDirections class

Constructors

DrivingDirections({required String code, required List<EasyRoute> routes, required List<Waypoint> waypoints})
DrivingDirections.fromJson(Map<String, dynamic> json)
factory

Properties

code String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
routes List<EasyRoute>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
waypoints List<Waypoint>
getter/setter pair

Methods

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

Static Methods

fetchDirections(String apiKey, String coordinates, {bool alternatives = false, bool steps = false, String geometries = 'polyline', String overview = 'full', bool annotations = false}) Future<DrivingDirections>