CommitsHandler<T extends Object> class
An interface that both exposes a value of a commit and a function to revert the commit.
- Annotations
Constructors
-
CommitsHandler({required List<
T> values, required AsyncCallback revert, required RetryFailed retryFailed}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- retryFailed → RetryFailed
-
final
- revert → AsyncCallback
-
This function will undo the commit operation so long as it maintains
its lifetime.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ List<
T> -
final
Methods
-
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