dismiss method
Implementation
@override
void dismiss(BuildContext? context) {
if(webView != null) {
if(context != null && context.mounted && Navigator.of(context).canPop()) {
Navigator.of(context).pop();
} else {
print("Bootpay dismiss: context is null, not mounted, or destroyed");
}
webView = null;
}
}