startPaymentUiFlow method

  1. @override
Future<void> startPaymentUiFlow(
  1. {String? token}
)
override

Implementation

@override
Future<void> startPaymentUiFlow({String? token}) async {
  if (token == null) {
    throw Exception("Token Is Null");
  }

  return methodChannel.invokeMethod('startPaymentUiFlow', {
    "token": token,
  });
}