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? distance, double? duration, double? distanceTraveled, double? currentLegDistanceTraveled, double? currentLegDistanceRemaining, String? currentStepInstruction, RouteLeg? currentLeg, RouteLeg? priorLeg, List<RouteLeg>? remainingLegs, int? legIndex, int? stepIndex, bool? isProgressEvent})
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
currentStepInstruction String?
getter/setter pair
distance double?
getter/setter pair
distanceTraveled double?
getter/setter pair
duration 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