cancel method
Instructs the WebView that encountered the SSL certificate error to terminate communication with the server.
The host application must call this method to prevent a resource from loading when an SSL certificate is invalid.
Implementation
Future<void> cancel() => platform.cancel();