MPRouteStep class

A step of a MPRoute, the step is usually contained in a MPRouteLeg

Inheritance

Properties

abutters String?
Some abutters set on the step
getter/setter pair
availableTravelModes List<String>?
A list of modes it is possible to travel the step with (eg. a bike path can both be walked on, as well as biked on)
getter/setter pair
distance MPRouteProperty?
The distance of the step
getter/setter pair
duration MPRouteProperty?
The estimated duration of the step
getter/setter pair
endLocation MPRouteCoordinate?
The destination of the step
getter/setter pair
geometry List<MPRouteCoordinate>?
The coordinates the step is made up of
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
highway String?
The type of MPHighway of the step
getter/setter pair
htmlInstructions String?
The step maneuver embedded in HTML
getter/setter pair
maneuver String?
The steps' maneuver, eg. "Straight", "Turn lef"
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startLocation MPRouteCoordinate?
The origin of the step
getter/setter pair
steps List<MPRouteStep>?
A list of substeps if any
getter/setter pair
travelMode String?
How the step is traversed
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the MPRouteStep to a JSON representation that can be parsed by the MapsIndoors Platform SDK
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(dynamic json) MPRouteStep?
Attempts to build a MPRouteStep from a JSON object, this method will decode the object if needed