MPBuildingInfo class

A collection of information about a MPBuilding

Inheritance
  • Object
  • MapsIndoorsObject
  • MPBuildingInfo

Properties

aliases → List<String>?
The MPBuilding's aliases
no setter
fields → Map<String, MPDataField>
Get all fields for the MPBuilding
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
The MPBuilding's name
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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