RouteLeg class
A RouteLeg object defines a single leg of a route between two waypoints. If the overall route has only two waypoints, it has a single RouteLeg object that covers the entire route. The route leg object includes information about the leg, such as its name, distance, and expected travel time. Depending on the criteria used to calculate the route, the route leg object may also include detailed turn-by-turn instructions.
Constructors
Properties
- destination ↔ WayPoint
-
read / write
- distance ↔ double
-
read / write
- expectedTravelTime ↔ double
-
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- name ↔ String
-
read / write
- profileIdentifier ↔ String
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- source ↔ WayPoint
-
read / write
-
steps
↔ List<
RouteStep> -
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