SignalMap<K, V> class
Copy of dart:core Map
But this Map notify any changes
- Inheritance
- Implemented types
-
- MapBase<
K, V>
- MapBase<
- Available extensions
Constructors
-
SignalMap.new(Map<
K, V> value) - SignalMap.from(Map other)
-
see dart core documentation
factory
-
SignalMap.fromEntries(Iterable<
MapEntry< entries)K, V> > -
see dart core documentation
factory
- SignalMap.fromIterable(Iterable iterable, {K key(dynamic element)?, V value(dynamic element)?})
-
see dart core documentation
factory
-
SignalMap.fromIterables(Iterable<
K> keys, Iterable<V> values) -
see dart core documentation
factory
- SignalMap.identity()
-
see dart core documentation
factory
-
SignalMap.of(Map<
K, V> other) -
see dart core documentation
factory
Properties
-
entries
→ Iterable<
MapEntry< K, V> > -
see dart core documentation
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSlots → bool
-
Has slot
no setterinherited
- isEmpty → bool
-
see dart core documentation
no setteroverride
- isNotEmpty → bool
-
see dart core documentation
no setteroverride
-
keys
→ Iterable<
K> -
see dart core documentation
no setteroverride
- length → int
-
see dart core documentation
no setteroverride
- multiSignal → MultiSignal
-
Available on Map<
K, V> , provided by the MultipleListenerOnMap extensionno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signalMap
→ SignalMap<
K, V> -
Available on Map<
Listen all changes and notify all changesK, V> , provided by the SignalExtensionOnMap extensionno setter -
signals
→ Map<
K, Signal< V> > -
Available on Map<
Listen all changes(exclude add and remove operations)K, V> , provided by the SignalExtensionOnMap extensionno setter -
slots
→ Set<
Slot> -
Slots
finalinherited
-
value
↔ Map<
K, V> -
Your value.
If you use as a setter notify listeners
getter/setter pairinherited
-
values
→ Iterable<
V> -
see dart core documentation
no setteroverride
Methods
-
addAll(
Map< K, V> other) → void -
see dart core documentation
override
-
addEntries(
Iterable< MapEntry< newEntries) → voidK, V> > -
see dart core documentation
override
-
addSlot(
Slot slot) → void -
Add new slot
inherited
-
cast<
RK, RV> () → Map< RK, RV> -
Provides a view of this map as having
RK
keys andRV
instances, if necessary.override -
clear(
) → void -
see dart core documentation
override
-
clearSlots(
) → void -
Clear all slots
inherited
-
combineWith(
List< Signal> signals) → Signal -
Listen any changes this and
notifiers
any changesinherited -
containsKey(
Object? key) → bool -
Whether this map contains the given
key
.override -
containsValue(
Object? value) → bool -
Whether this map contains the given
value
.override -
convert<
T> (T map(Map< K, V> )) → Signal<T> -
Map signal
inherited
-
emit(
) → void -
Sign to all slots
inherited
-
forEach(
void action(K key, V value)) → void -
Applies
action
to each key/value pair of the map.override -
map<
K2, V2> (MapEntry< K2, V2> transform(K key, V value)) → Map<K2, V2> -
Returns a new map where all entries of this map are transformed by
the given
convert
function.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putIfAbsent(
K key, V ifAbsent()) → V -
see dart core documentation
override
-
remove(
Object? key) → V? -
see dart core documentation
override
-
removeSlot(
Slot slot) → void -
Remove slot
inherited
-
removeWhere(
bool test(K key, V value)) → void -
see dart core documentation
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
K key, V update(V value), {V ifAbsent()?}) → V -
see dart core documentation
override
-
updateAll(
V update(K key, V value)) → void -
see dart core documentation
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
Object? key) → V? -
see dart core documentation
override
-
operator []=(
K key, V val) → void -
see dart core documentation
override