clearSslPreferences method Null safety

Future<void> clearSslPreferences()

Clears the SSL preferences table stored in response to proceeding with SSL certificate errors.

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

Implementation

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