RouteProgressEvent class

This class contains all progress information at any given time during a navigation session. This progress includes information for the current route, leg and step the user is traversing along. With every new valid location update, a new route progress will be generated using the latest information.

Constructors

RouteProgressEvent({bool? arrived, double? distanceRemaining, double? durationRemaining, double? distanceTraveled, double? currentLegDistanceTraveled, double? currentLegDistanceRemaining, String? currentStepInstruction, RouteLeg? currentLeg, RouteLeg? priorLeg, List<RouteLeg>? remainingLegs, int? legIndex, int? stepIndex, bool? isProgressEvent, String? currentModifier, String? currentModifierType, double? distanceToNextTurn})
RouteProgressEvent.fromJson(Map<String, dynamic> json)

Properties

arrived ↔ bool?
getter/setter pair
currentLeg ↔ RouteLeg?
getter/setter pair
currentLegDistanceRemaining ↔ double?
getter/setter pair
currentLegDistanceTraveled ↔ double?
getter/setter pair
currentModifier ↔ String?
getter/setter pair
currentModifierType ↔ String?
getter/setter pair
currentStepInstruction ↔ String?
getter/setter pair
distanceRemaining ↔ double?
getter/setter pair
distanceToNextTurn ↔ double?
getter/setter pair
distanceTraveled ↔ double?
getter/setter pair
durationRemaining ↔ double?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isProgressEvent ↔ bool?
getter/setter pair
legIndex ↔ int?
getter/setter pair
priorLeg ↔ RouteLeg?
getter/setter pair
remainingLegs ↔ List<RouteLeg>?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stepIndex ↔ int?
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