clearCache method

Future<void> clearCache()

Clears all the WebView's cache.

Supported Platforms/Implementations:

  • Android native WebView
  • iOS

Implementation

Future<void> clearCache() async {
  Map<String, dynamic> args = <String, dynamic>{};
  await _channel.invokeMethod('clearCache', args);
}