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
read / write
currentLeg RouteLeg
read / write
currentLegDistanceRemaining double
read / write
currentLegDistanceTraveled double
read / write
currentStepInstruction String
read / write
distance double
read / write
distanceTraveled double
read / write
duration double
read / write
hashCode int
The hash code for this object.
read-onlyinherited
isProgressEvent bool
read / write
legIndex int
read / write
priorLeg RouteLeg
read / write
remainingLegs List<RouteLeg>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stepIndex int
read / write

Methods

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

Operators

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