SaveReactiveFromFamilyEffect<T, A> class

The effects runs on SaveObservable from save.withArg with Saveobserver.

Inheritance

Constructors

SaveReactiveFromFamilyEffect(SaveRepositoryKey key, {void onInit(SaveObserver $, T first, A arg)?, void onUpdate(SaveObserver $, T value, A arg)?, void onDispose(SaveObserver $, T last, A arg)?, void orElse(SaveObserver $, T value, A arg)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
key SaveRepositoryKey
Distinguishs its belonging.
final
onDispose → void Function(SaveObserver $, T last, A arg)?
Runs when the state is disposed.
final
onInit → void Function(SaveObserver $, T first, A arg)?
Runs on the state's initialization.
final
onUpdate → void Function(SaveObserver $, T value, A arg)?
Runs on everytime the state changes.
final
orElse → void Function(SaveObserver $, 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
toNormalEffect(SaveObserver $) SaveFromFamilyEffect<T, A>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited