clearAllCache method
Clears the resource cache. Note that the cache is per-application, so this will clear the cache for all WebViews used.
includeDiskFiles
if false
, only the RAM cache is cleared. The default value is true
.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
Implementation
Future<void> clearAllCache({bool includeDiskFiles = true}) {
throw UnimplementedError(
'clearAllCache is not implemented on the current platform');
}