SaveProviderFromFamily<T, A> class abstract

Providers created by the family.

Inheritance

Constructors

SaveProviderFromFamily()

Properties

arg → A
The argument used to initialize this provider.
no setter
autoDispose bool
Whether to dispose the state automatically.
no setterinherited
familyKey SaveRepositoryKey
Marks the belonging family.
no setter
hashCode int
The hash code for this object.
no setterinherited
key SaveRepositoryKey
A SaveRepositoryKey to distinguish each SaveObservableImpls.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createEffect({void onInit(SaveObserver $, T first)?, void onUpdate(SaveObserver $, T value)?, void onDispose(SaveObserver $, T last)?, void orElse(SaveObserver $, T value)?}) SaveEffect
Creates a SaveEffect for this provider.
inherited
createLoader(FutureOr<T> load(SaveObserver $)) SaveLoader
Creates a SaveLoader for this provider.
inherited
createObservable([FutureOr<T> loader()?]) SaveObservable<T>
Creates an initial state of SaveState.
inherited
dispose(T last) → void
Disposes the resources when the state is disposed.
inherited
load(SaveLoader loader) FutureOr<T>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runEffect(SaveEffectType type, List<SaveEffect> effects, T value) → void
Runs the SaveEffects.
inherited
select<S>(S select(T value), {Stream<S> then(Stream<S> source, SaveObserver $)?}) SaveProvider<S>
Modifies the notification timing and the value of the state
inherited
toString() String
A string representation of this object.
inherited

Operators

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