clearHistory method Null safety

Future<void> clearHistory()

Clears the internal back/forward list.

Official Android API: https://developer.android.com/reference/android/webkit/WebView#clearHistory()

Implementation

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