ExtraInfo class Places
Flexible key/value storage used for landmark auxiliary metadata.
The ExtraInfo class parses and exposes simple key/value pairs. Changes made to the
returned object are not automatically persisted on a Landmark; assign the modified
instance back to landmark.extraInfo to update the landmark.
Constructors
- ExtraInfo()
- ExtraInfo.fromList(List input)
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
dynamic key, dynamic value) → void - Adds or updates a key/value entry in this extra info object.
-
getByKey(
dynamic key) → dynamic -
Retrieves the value associated with
key, parsed to an appropriate type. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
dynamic key) → void - Removes an entry by key from the extra info map.
-
toInputFormat(
) → List< String> - Serializes the extra info into the SDK input format (list of strings).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant ExtraInfo other) → bool -
The equality operator.
override