stopTransaction method

bool stopTransaction()

This calls the super Tool#stopTransaction method, and if the result is true, attempts to optimize the transaction by removing all changes except the first and last by calling Transaction#optimize.

This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @return {boolean} the result of the call to rollback or commit the transaction.

Implementation

_i2.bool stopTransaction() => _i4.callMethod(
      this,
      'stopTransaction',
      [],
    );