onError method

Future<void> onError(
  1. JavaScriptMessage message
)

Implementation

Future<void> onError(JavaScriptMessage message) async {
  if(this.widget.onWebViewError != null) {
    this.widget.onWebViewError!(message);
  }
}