SaveFromFamilyEffect<T, A> class
The effects runs on SaveObservable from save.withArg
- Implemented types
Constructors
- SaveFromFamilyEffect(SaveRepositoryKey key, {void onInit(T first, A arg)?, void onUpdate(T value, A arg)?, void onDispose(T last, A arg)?, void orElse(T value, A arg)?})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → SaveRepositoryKey
-
Distinguishs its belonging.
final
- onDispose → void Function(T last, A arg)?
-
Runs when the state is disposed.
final
- onInit → void Function(T first, A arg)?
-
Runs on the state's initialization.
final
- onUpdate → void Function(T value, A arg)?
-
Runs on everytime the state changes.
final
- orElse → void Function(T value, A arg)?
-
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