onCancelJS method
Implementation
Future<void> onCancelJS(JavaScriptMessage message) async {
onProgressShow(false);
widget.paymentResult = BootpayPaymentResult.CANCEL;
if (this.widget.onCancel != null)
this.widget.onCancel!(message.message);
}