closeRavenPay method

  1. @override
Future<void> closeRavenPay(
  1. BuildContext context
)
override

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);
  }
}