requestQuota method

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

Source

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