currentTransaction property

Transaction? get currentTransaction

This read-only property returns the current Transaction for recording additional model change events. This is initialized and augmented by #handleChanged before it is added to #history by a top-level call to #commitTransaction. The value will be null between transactions.

Implementation

_i3.Transaction? get currentTransaction => _i4.getProperty(
      this,
      'currentTransaction',
    );
set currentTransaction (Transaction? value)

Implementation

set currentTransaction(_i3.Transaction? value) {
  _i4.setProperty(
    this,
    'currentTransaction',
    value ?? _i5.undefined,
  );
}