closeRavenPay method
Implementation
@override
Future<void> closeRavenPay(BuildContext context) async {
if (pluginConfig.onClose != null) {
pluginConfig.onClose!.call();
} else {
Navigator.of(context, rootNavigator: true)
.popUntil((route) => route.isFirst);
}
}