startTransaction method

bool startTransaction([
  1. String? tname
])

Begin a transaction, where the changes are held by a Transaction object in the UndoManager. This just calls UndoManager#startTransaction. @param {string=} tname a descriptive name for the transaction. @return {boolean} the value returned by UndoManager#startTransaction. @see #commit

Implementation

_i2.bool startTransaction([_i2.String? tname]) => _i4.callMethod(
      this,
      'startTransaction',
      [tname ?? _i5.undefined],
    );