Itinerary class

Constructors

Itinerary({required Coordinate from, required Coordinate to, required double duration, required double distance, required List<Leg> legs})
Itinerary.fromMap(dynamic itineraryMap)
factory

Properties

distance → double
final
duration → double
final
from → Coordinate
final
hashCode → int
The hash code for this object.
no setterinherited
legs → List<Leg>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to → Coordinate
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.
inherited