deleteAllData method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'WebStorage.deleteAllData', apiUrl: 'https://developer.android.com/reference/android/webkit/WebStorage#deleteAllData()')])
Clears all storage currently being used by the JavaScript storage APIs. This includes the Application Cache, Web SQL Database and the HTML5 Web Storage APIs.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebStorage.deleteAllData)
Use the PlatformWebStorageManager.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'WebStorage.deleteAllData',
apiUrl:
'https://developer.android.com/reference/android/webkit/WebStorage#deleteAllData()',
),
],
)
Future<void> deleteAllData() {
throw UnimplementedError(
'deleteAllData is not implemented on the current platform',
);
}