MapObservable<K, V> class
- Inheritance
-
- Object
- Observable<
Map< K, V> > - MapObservable
Constructors
-
MapObservable.new([Map<
K, V> ? initial, ErrorCallback? onError])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
Whether this object has been disposed.
no setterinherited
- isEmpty → bool
-
no setter
-
keys
→ Iterable<
K> -
no setter
- length → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
↔ Map<
K, V> -
value method.
getter/setter pairinherited
-
values
→ Iterable<
V> -
no setter
Methods
-
addDisposeCallback(
VoidCallback callback) → void -
Add a callback to be executed during disposal.
inherited
-
addListener(
VoidCallback listener) → void -
addListener method.
inherited
-
addSubscription(
StreamSubscription subscription) → void -
Add a stream subscription to be cancelled during disposal.
inherited
-
clear(
) → void -
containsKey(
K key) → bool -
dispose(
) → void -
dispose method.
inherited
-
get(
K key) → V? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
K key, V value) → void -
read(
) → Map< K, V> -
read method.
inherited
-
remove(
K key) → void -
removeListener(
VoidCallback listener) → void -
removeListener method.
inherited
-
setDebounceTimer(
Timer timer) → void -
Set or update the debounce timer.
inherited
-
setValueDebounced(
Map< K, V> newValue, Duration delay) → void -
setValueDebounced method.
inherited
-
throwIfDisposed(
[String? operation]) → void -
Throw if this object has been disposed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
watch(
) → Map< K, V> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited