SunnyObservableMapList<K, L> class
- Inheritance
-
- Available Extensions
Methods
-
addAll(Map<K?, SunnyObservableList<L>> other)
→ void
-
Adds all key/value pairs of
other
to this map.
inherited
-
addDisposer(EmptyCallback dispose)
→ void
-
inherited
-
addEntries(Iterable<MapEntry<K?, SunnyObservableList<L>>> newEntries)
→ void
-
Adds all key/value pairs of
newEntries
to this map.
inherited
-
applyChanges(MapDiffs<K?, SunnyObservableList<L>> changes)
→ void
-
inherited
-
call(K? key)
→ SunnyObservableList<L>?
-
inherited
-
cast<RK, RV>()
→ Map<RK, RV>
-
Provides a view of this map as having
RK
keys and RV
instances,
if necessary.
inherited
-
clear()
→ void
-
Removes all entries from the map.
inherited
-
containsKey(Object? key)
→ bool
-
Whether this map contains the given
key
.
inherited
-
containsValue(Object? value)
→ bool
-
Whether this map contains the given
value
.
inherited
-
dispose()
→ Future
-
inherited
-
forEach(void action(K? key, SunnyObservableList<L> value))
→ void
-
Applies
action
to each key/value pair of the map.
inherited
-
getOrPut(K? key, FutureOr<SunnyObservableList<L>> factory(K? id))
→ FutureOr<SunnyObservableList<L>>
-
inherited
-
keyStream(K? key)
→ ValueStream<SunnyObservableList<L>?>
-
Allows for observation of a single map key.
inherited
-
map<K2, V2>(MapEntry<K2, V2> transform(K? key, SunnyObservableList<L> value))
→ Map<K2, V2>
-
Returns a new map where all entries of this map are transformed by
the given
convert
function.
inherited
-
newBuilder()
→ MapDiffs<K?, SunnyObservableList<L>>
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
observe(MapChangeListener<K?, SunnyObservableList<L>> listener, {bool? fireImmediately})
→ Dispose
-
inherited
-
observeKey(K? key, Consumer<SunnyObservableList<L>?> react, {bool? fireImmediately})
→ Dispose
-
inherited
-
push(Object? key, SunnyObservableList<L> value)
→ void
-
Forces an update, even in cases where the value at the
key
has not changed or is the same instance.
inherited
-
putIfAbsent(K? key, SunnyObservableList<L> ifAbsent())
→ SunnyObservableList<L>
-
Look up the value of
key
, or add a new entry if it isn't there.
inherited
-
remove(Object? key)
→ SunnyObservableList<L>?
-
Removes
key
and its associated value, if present, from the map.
inherited
-
removeQuiet(Object? key)
→ void
-
Doesn't trigger observers
inherited
-
removes(Map<K?, dynamic> newData)
→ Set<K?>
-
inherited
-
removeWhere(bool test(K? key, SunnyObservableList<L> value))
→ void
-
Removes all entries of this map that satisfy the given
test
.
inherited
-
reset()
→ Future
-
-
safeCast<KK, VV>()
→ Map<KK, VV>
-
inherited
-
sync(FutureOr<Map<K?, SunnyObservableList<L>>> newMap, {bool async = true})
→ Future<MapDiffs<K?, SunnyObservableList<L>>>
-
inherited
-
syncAndListenFrom(Stream<Map<K?, SunnyObservableList<L>>> stream, {FutureOr<Map<K?, SunnyObservableList<L>>?>? start})
→ Future
-
inherited
-
syncFromMapList(ValueStream<Map<K, List<L>>> replacement)
→ Future<SunnyObservableMap<K?, SunnyObservableList<L>>>
-
-
takeFromMapList(Map<K, Iterable<L>> replacement)
→ Future
-
-
toString()
→ String
-
A string representation of this object.
override
-
update(K? key, SunnyObservableList<L> update(SunnyObservableList<L> value), {SunnyObservableList<L> ifAbsent()?})
→ SunnyObservableList<L>
-
Updates the value for the provided
key
.
inherited
-
updateAll(SunnyObservableList<L> update(K? key, SunnyObservableList<L> value))
→ void
-
Updates all values.
inherited
-
watchKey(K? key)
→ HStream<SunnyObservableList<L>?>
-
inherited