getOrigins method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebStorage.getOrigins', apiUrl: 'https://developer.android.com/reference/android/webkit/WebStorage#getOrigins(android.webkit.ValueCallback%3Cjava.util.Map%3E)')])
Gets the origins currently using either the Application Cache or Web SQL Database APIs.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebStorage.getOrigins)
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebStorage.getOrigins',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebStorage#getOrigins(android.webkit.ValueCallback%3Cjava.util.Map%3E)',
),
],
)
Future<List<WebStorageOrigin>> getOrigins() {
throw UnimplementedError(
'getOrigins is not implemented on the current platform',
);
}