SectionProgress class
Indicates a user's progress along a Section.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setter
- remainingDistanceInMeters ↔ int
-
The distance in meters from current location until the end of the Section.
Note that the value is accumulated per section, and that the last section contains the overall
distance to the destination.
Defaults to 0.
getter/setter pair
- remainingDuration ↔ Duration
-
The estimated time in seconds from current location until the end of the Section
is reached, including traffic delays if available.
Note that the value is accumulated per section, and that the last section contains the overall
duration until the destination is reached.
Defaults to 0 seconds.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trafficDelay ↔ Duration
-
The estimated traffic delay in seconds from current location until the end of the
Section is reached.
Note that the value is accumulated per section, and that the last section contains the overall
traffic delay until the destination is reached. The delay might be a negative value:
Negative values indicate that the part of this section can be traversed faster than usual.
Note that this is based on a delay value received at the moment of route calculation.
Defaults to 0 seconds.
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.