SignalMapExt<K, V> extension

on

Methods

addAll(Map<K, V> other) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Adds all key/value pairs of other to this map.
addEntries(Iterable<MapEntry<K, V>> newEntries) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Adds all key/value pairs of newEntries to this map.
clear() → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Removes all entries from the map.
putIfAbsent(K key, V ifAbsent()) → V

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Look up the value of key, or add a new entry if it isn't there.
remove(Object? key) → V?

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Removes key and its associated value, if present, from the map.
removeWhere(bool test(K key, V value)) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Removes all entries of this map that satisfy the given test.
updateAll(V fnUpdate(K key, V value)) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Updates all values.
updateMap(K key, V fnUpdate(V value), {V ifAbsent()?}) → V

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Updates the value for the provided key.

Operators

operator []=(K key, V valueToSet) → void

Available on Signal<Map<K, V>>, provided by the SignalMapExt extension

Associates the key with the given value.