WritableStore class
Reactive store available for writing and reading.
Constructors
-
WritableStore(Map<
String, dynamic> fields) - Creates a store of writable proxies created on Map.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void - Clears proxy dependencies and proxies from the store.
-
destroy(
String key) → void - Takes the key of the value to be destroyed.
-
get(
String key, Widget widget) → dynamic - Takes Widget second argument as a store subscription.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
String key, dynamic value) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
String key, Widget widget, dynamic fun(dynamic value)) → void - Takes Widget second argument as a store subscription.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited