onRedirect method

Future<void> onRedirect(
  1. JavaScriptMessage message
)

Implementation

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