Transaction class

The pending result of a TransactionHandler.

Constructors

Transaction.abort()
The transaction should be aborted.
Transaction.success(Object? value)
The transaction was successful and should update the reference to the new value provided.

Properties

aborted → bool
Whether the transaction was aborted.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Object?
The new value that will be set if the transaction was not aborted.
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