TransactionOperation class abstract

Implemented types
Implementers

Constructors

TransactionOperation(TransactionOperationType type, String repositoryName, bool canPropagate, Object executor, {Transaction? transaction, TransactionOperation? parentOperation})

Properties

canPropagate bool
If true indicates that this operation can generated multiple operations, usually sub-entities requests/resolution.
final
command Object?
getter/setter pair
duration Duration?
no setter
durationMsInfo String
no setter
endTime DateTime?
no setter
execution TransactionExecution?
getter/setter pair
executor Object
final
externalTransaction bool
latefinal
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
initTime DateTime
final
isExecuted bool
no setter
parentOperation TransactionOperation?
latefinal
repositoryName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transaction Transaction
latefinal
transactionId int
no setter
transactionRoot bool
latefinal
type TransactionOperationType
final

Methods

finish<R>(R result) FutureOr<R>
isParentOperation(TransactionOperation? op) bool
Returns true if op is a parent of this operation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString({Set<Object>? processedObjects}) String
A string representation of this object.
override
toStringSimple() String
inherited
waitFinish({TransactionOperation? parentOperation, Duration timeout = const Duration(seconds: 40)}) Future<bool>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

resolveTransaction({Transaction? transaction, TransactionOperation? operation}) Transaction