MPCategoryCollection class

A collection of category objects fetched from MapsIndoors. Uses MPCategory.key 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<MPCategory>
Fetch all elements from this collection as a list
inherited
getById(String id) MPCategory?
Fetch an element by its identifier
inherited
getFields(String key) Map<String, MPDataField>?
Fetch the MPCategory.fields of a MPCategory directly from the collection
getValue(String key) String?
Fetch the MPCategory.value of a MPCategory directly from the collection
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) MPCategoryCollection?
Attempts to build a MPCategoryCollection from a JSON object, this method will decode the object if needed