SaveAction2<T, A, B> class

An action to run with SaveObserver.

Takes two arguments.

Inheritance

Constructors

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

Properties

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

Methods

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