SaveAction1<T, A> class

An action to run with SaveObserver.

Takes one argument.

Inheritance

Constructors

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

Properties

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

Methods

call(SaveObserver $, A arg) → T
Runs the action and its effects.
createEffect(void onRun(SaveObserver $, A arg)) 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