transaction method

void transaction(SqlTransactionCallback callback, [ SqlTransactionErrorCallback errorCallback, VoidCallback successCallback ])

Source

void transaction(SqlTransactionCallback callback,
    [SqlTransactionErrorCallback errorCallback,
    VoidCallback successCallback]) {
  if (successCallback != null) {
    _blink.BlinkDatabase.instance.transaction_Callback_3_(
        this, callback, errorCallback, successCallback);
    return;
  }
  if (errorCallback != null) {
    _blink.BlinkDatabase.instance
        .transaction_Callback_2_(this, callback, errorCallback);
    return;
  }
  _blink.BlinkDatabase.instance.transaction_Callback_1_(this, callback);
  return;
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-web_sql/SqlDatabase/transaction.html