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;
}