getUsageAndQuota method

Future<GetUsageAndQuotaResult> getUsageAndQuota(
  1. String origin
)

Returns usage and quota in bytes. origin Security origin.

Implementation

Future<GetUsageAndQuotaResult> getUsageAndQuota(String origin) async {
  var result = await _client.send('Storage.getUsageAndQuota', {
    'origin': origin,
  });
  return GetUsageAndQuotaResult.fromJson(result);
}