transactionLevel property
num
get
transactionLevel
This read-only property returns the current transaction level. The value is zero when there is no ongoing transaction. The initial value is zero. #startTransaction will increment this value; #commitTransaction or #rollbackTransaction will decrement it. When this value is greater than zero, #canUndo and #canRedo will be false, because additional logically related model change events may occur.
Implementation
_i2.num get transactionLevel => _i4.getProperty(
this,
'transactionLevel',
);
set
transactionLevel
(num value)
Implementation
set transactionLevel(_i2.num value) {
_i4.setProperty(
this,
'transactionLevel',
value,
);
}