MPRoute class

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

Inheritance

Properties

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

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