onCancelJS method

Future<void> onCancelJS(
  1. JavaScriptMessage message
)

Implementation

Future<void> onCancelJS(JavaScriptMessage message) async {
  onProgressShow(false);

  if (this.widget.onCancel != null)
    this.widget.onCancel!(message.message);
}