MPRoute class

A route from a origin to a destination broken up into MPRouteLeg legs

Inheritance
  • Object
  • MapsIndoorsObject
  • MPRoute

Properties

bounds MPBounds?
The outer bounds of the route
final
copyrights String?
The copyrights for this route, if any
final
hashCode int
The hash code for this object.
no setterinherited
legs List<MPRouteLeg>?
The legs the route consists of
final
orderedStopIndexes List<int>?
final
restrictions List<String>?
All restrictions in place for the route
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
summary String?
A summary of the route
final
warnings List<String>?
Any warnings issued for any paths on the route
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the MPRoute 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) MPRoute?
Attempts to build a MPRoute from a JSON object, this method will decode the object if needed