RouteDeviation class
Contains all the relevant information on a deviation from the route.
Constructors
- RouteDeviation.withTraveledDistance(NavigableLocation? lastLocationOnRoute, int lastTraveledSectionIndex, int traveledDistanceOnLastSectionInMeters, NavigableLocation currentLocation)
- Creates a new instance.
Properties
- currentLocation ↔ NavigableLocation
-
The current location.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- lastLocationOnRoute ↔ NavigableLocation?
-
The last known location on the route.
getter/setter pair
- lastTraveledSectionIndex ↔ int
-
Indicates the index of the last traveled route section.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- traveledDistanceOnLastSectionInMeters ↔ int
-
Offset in meter to the last visited position on the route section defined by the last traveled section index.
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.