isInTransaction property

bool get isInTransaction

This read-only property is true after the first call to #startTransaction and before a corresponding call to #commitTransaction or #rollbackTransaction.

During a transaction #canUndo and #canRedo will be false. #currentTransaction may be non-null if any ChangedEvents were recorded.

Implementation

_i2.bool get isInTransaction => _i4.getProperty(
      this,
      'isInTransaction',
    );
set isInTransaction (bool value)

Implementation

set isInTransaction(_i2.bool value) {
  _i4.setProperty(
    this,
    'isInTransaction',
    value,
  );
}