SaveAction0<T> class

An action to run with SaveObserver.

Takes no argument.

Inheritance

Constructors

SaveAction0(T run(SaveObserver $), {SaveRepositoryKey? actionKey})

Properties

actionKey SaveRepositoryKey
Distinguishes the SaveActionEffect.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
run → T Function(SaveObserver $)
The main action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(SaveObserver $) → T
Runs the action and its effects.
createEffect(void onRun(SaveObserver $)) SaveEffect
Creates the effect for this action.
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