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