SerializableMap class

Interface that should be implemented by all the generated serializable classes




entries → Iterable<MapEntry>
The map entries of this.
isEmpty → bool
check if the object keys is empty
isNotEmpty → bool
check if the object keys is empty
keys → Iterable
Returns the field names of the Object
length → int
return the length of keys
values → Iterable
return the attributes values
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


addAll(Map map) → void
Add all the values the the map into the object.
addEntries(Iterable<MapEntry> newEntries) → void
Adds all key/value pairs of newEntries to this map. [...]
cast<RK, RV>() → Map<RK, RV>
Provides a view of this map as having RK keys and RV instances, if necessary. [...]
clear() → void
Sets all the attributes values to null.
containsKey(Object key) → bool
Checks if the object has any attribute with the name of key
containsValue(Object value) → bool
Check if any of the attributes contains the value.
forEach(void f(dynamic attribute, dynamic value)) → void
runs function f for each attribute-value pair
fromMap(Map map) → void
Add all the values the the map into the current object. Is the same as addAll
map<K2, V2>(MapEntry<K2, V2> f(dynamic key, dynamic value)) → Map<K2, V2>
Returns a new map where all entries of this map are transformed by the given f function.
putIfAbsent(dynamic key, dynamic ifAbsent()) → dynamic
does nothing
remove(Object attribute) → dynamic
Sets the attribute value to null
removeWhere(bool predicate(dynamic key, dynamic value)) → void
Removes all entries of this map that satisfy the given predicate.
toMap() → Map
Create a Map from the values of the object.
update(dynamic key, dynamic update(dynamic value), { dynamic ifAbsent() }) → dynamic
Updates the value for the provided key. [...]
updateAll(dynamic update(dynamic key, dynamic value)) → void
Updates all values. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.
operator [](Object key) → dynamic
Returns the value for the given key or null if key is not in the map.
operator []=(dynamic key, dynamic value) → void
Associates the key with the given value.