SignalMapExt<K, V> extension
Methods
-
addAll(
Map< K, V> other) → void -
Available on Signal<
Adds all key/value pairs ofMap< , provided by the SignalMapExt extensionK, V> >other
to this map. -
addEntries(
Iterable< MapEntry< newEntries) → voidK, V> > -
Available on Signal<
Adds all key/value pairs ofMap< , provided by the SignalMapExt extensionK, V> >newEntries
to this map. -
clear(
) → void -
Available on Signal<
Removes all entries from the map.Map< , provided by the SignalMapExt extensionK, V> > -
putIfAbsent(
K key, V ifAbsent()) → V -
Available on Signal<
Look up the value ofMap< , provided by the SignalMapExt extensionK, V> >key
, or add a new entry if it isn't there. -
remove(
Object? key) → V? -
Available on Signal<
RemovesMap< , provided by the SignalMapExt extensionK, V> >key
and its associated value, if present, from the map. -
removeWhere(
bool test(K key, V value)) → void -
Available on Signal<
Removes all entries of this map that satisfy the givenMap< , provided by the SignalMapExt extensionK, V> >test
. -
updateAll(
V fnUpdate(K key, V value)) → void -
Available on Signal<
Updates all values.Map< , provided by the SignalMapExt extensionK, V> > -
updateMap(
K key, V fnUpdate(V value), {V ifAbsent()?}) → V -
Available on Signal<
Updates the value for the providedMap< , provided by the SignalMapExt extensionK, V> >key
.
Operators
-
operator []=(
K key, V valueToSet) → void -
Available on Signal<
Associates theMap< , provided by the SignalMapExt extensionK, V> >key
with the given value.