commitTransaction method

bool commitTransaction([
  1. String? tname
])

Commit the changes of the current transaction. This just calls UndoManager#commitTransaction. @param {string=} tname a descriptive name for the transaction. @return {boolean} the value returned by UndoManager#commitTransaction.

Implementation

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