MPRouteStep class

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

Inheritance
  • Object
  • MapsIndoorsObject
  • MPRouteStep

Properties

abutters → String?
Some abutters set on the step
final
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)
final
distance → MPRouteProperty?
The distance of the step
final
duration → MPRouteProperty?
The estimated duration of the step
final
endLocation → MPRouteCoordinate?
The destination of the step
final
geometry → List<MPRouteCoordinate>?
The coordinates the step is made up of
final
hashCode → int
The hash code for this object.
no setterinherited
highway → String?
The type of MPHighway of the step
final
htmlInstructions → String?
Textual instructions for the step maneuver. May not be specified
final
maneuver → String?
The maneuver for the step, if any.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startLocation → MPRouteCoordinate?
The origin of the step
final
steps → List<MPRouteStep>?
A list of substeps if any
final
travelMode → String?
How the step is traversed
final

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