Directions class

Result of request to Google Directions API

Constructors

Directions({required Address origin, required Address destination, required List<Address> waypoints, required String distance, required String duration, required Bounds bounds, required List<Coords> points})
Constructor for Directions.

Properties

bounds Bounds
Bounds of a route.
final
destination Address
Destination point of a route.
final
distance String
Distance of a route.
final
duration String
Duration of a route.
final
hashCode int
The hash code for this object.
no setteroverride
origin Address
Origin point of a route.
final
points List<Coords>
Points of Polyline in a route.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
waypoints List<Address>
Points beetwen origin and destination of a route.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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