readTransaction method

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

Source

void readTransaction(SqlTransactionCallback callback,
    [SqlTransactionErrorCallback errorCallback,
    VoidCallback successCallback]) {
  if (successCallback != null) {
    _blink.BlinkDatabase.instance.readTransaction_Callback_3_(
        this, callback, errorCallback, successCallback);
    return;
  }
  if (errorCallback != null) {
    _blink.BlinkDatabase.instance
        .readTransaction_Callback_2_(this, callback, errorCallback);
    return;
  }
  _blink.BlinkDatabase.instance.readTransaction_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/readTransaction.html