MPBuildingCollection class

A collection of building objects fetched from MapsIndoors. Uses MPBuilding.id as key

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Get the number of elements in this collection
no setterinherited

Methods

getAll() List<MPBuilding>
Fetch all elements from this collection as a list
inherited
getBuildingByAdminId(String id) MPBuilding?
Fetch a building by its administrative id
getById(String id) MPBuilding?
Fetch an element by its identifier
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

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