Store class final
lang-core createStore: $variables and form fields. Keys still at
their declared default are pristine and follow new defaults while the
program streams; a key the user changed keeps its value.
Constructors
- Store()
Properties
Methods
-
dispose(
) → void -
get(
String name) → Object? -
has(
String name) → bool -
initialize(
Map< String, Object?> defaults, Map<String, Object?> persisted) → void - Applies declared defaults and persisted values; persisted wins.
-
listen(
void listener()) → void Function() -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restoreUntouched(
Map< String, Object?> state) → void - Restores keys not written locally since this store was created.
-
set(
String name, Object? value, {bool pristine = false, bool local = true}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited