SaveObservableEffect<T> class
The effect runs on SaveObservable.
- Implemented types
Constructors
- SaveObservableEffect(SaveRepositoryKey key, {void onInit(T)?, void onUpdate(T)?, void onDispose(T)?, void orElse(T)?})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → SaveRepositoryKey
-
Distinguishs its belonging.
final
- onDispose → void Function(T)?
-
Runs when the state is disposed.
final
- onInit → void Function(T)?
-
Runs on the state's initialization.
final
- onUpdate → void Function(T)?
-
Runs on everytime the state changes.
final
- orElse → void Function(T)?
-
Runs if others are not defined.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited