RouteProgress class
Contains all the relevant information on the user's progress along a route.
Constructors
-
RouteProgress(List<
SectionProgress> sectionProgress, List<ManeuverProgress> maneuverProgress)
Properties
- hashCode → int
-
The hash code for this object.
no setter
-
maneuverProgress
↔ List<
ManeuverProgress> -
The progress for next and next-next maneuvers (see Maneuver). Note that the list
can contain at maximum two items (for next and next-next maneuvers) and one or zero when approaching the
destination.
getter/setter pair
- routeMatchedLocation ↔ RouteMatchedLocation
-
Route matched location.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionIndex ↔ int
-
Index of the Section in the route.
Note that this section index does not point to the current SectionProgress
but to the route Section that you can access via NavigatorInterface.route
and Route.sections.
getter/setter pair
-
sectionProgress
↔ List<
SectionProgress> -
The progress for each Section from the current one to the last one.
Note that the progress information is accumulated successively, therefore information relative
to the final destination is in the last item of the list. The list is guaranteed to be non-empty.
getter/setter pair
- spanIndex ↔ int
-
Index of the Span in the route section.
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.