MPDataField class

A MPDataField contains a single field value with descriptive text and a type that describes the type of the value (eg. text or number)

Inheritance
  • Object
  • MapsIndoorsObject
  • MPDataField

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The descriptive text for the field
final
type String?
The type of the value
final
value String?
The value of the field
final

Methods

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