requestQuota method

void requestQuota(int newQuotaInBytes, [ StorageQuotaCallback quotaCallback, StorageErrorCallback errorCallback ])

Source

void requestQuota(int newQuotaInBytes,
    [StorageQuotaCallback quotaCallback,
    StorageErrorCallback errorCallback]) {
  if (errorCallback != null) {
    _blink.BlinkDeprecatedStorageQuota.instance.requestQuota_Callback_3_(
        this, newQuotaInBytes, quotaCallback, errorCallback);
    return;
  }
  if (quotaCallback != null) {
    _blink.BlinkDeprecatedStorageQuota.instance
        .requestQuota_Callback_2_(this, newQuotaInBytes, quotaCallback);
    return;
  }
  _blink.BlinkDeprecatedStorageQuota.instance
      .requestQuota_Callback_1_(this, newQuotaInBytes);
  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-html/DeprecatedStorageQuota/requestQuota.html