getUsageForOrigin method
Gets the amount of storage currently being used by both the Application Cache and Web SQL Database APIs by the given origin
.
The amount is given in bytes and the origin is specified using its string representation.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebStorage.getUsageForOrigin)
Implementation
Future<int> getUsageForOrigin({required String origin}) {
throw UnimplementedError(
'getUsageForOrigin is not implemented on the current platform');
}