SignalMapExt<K, V> extension

on

Methods

addAll(Map<K, V> other) → void
Adds all key/value pairs of other to this map.
addEntries(Iterable<MapEntry<K, V>> newEntries) → void
Adds all key/value pairs of newEntries to this map.
clear() → void
Removes all entries from the map.
putIfAbsent(K key, V ifAbsent()) → V
Look up the value of key, or add a new entry if it isn't there.
remove(Object? key) → V?
Removes key and its associated value, if present, from the map.
removeWhere(bool test(K key, V value)) → void
Removes all entries of this map that satisfy the given test.
updateAll(V fnUpdate(K key, V value)) → void
Updates all values.
updateMap(K key, V fnUpdate(V value), {V ifAbsent()?}) → V
Updates the value for the provided key.

Operators

operator []=(K key, V valueToSet) → void
Associates the key with the given value.