redirectToCheckout function
Implementation
Future<CheckoutResponse> redirectToCheckout({
required BuildContext context,
required String sessionId,
required String publishableKey,
String? stripeAccountId,
String? successUrl,
String? canceledUrl,
}) {
// ignore: deprecated_member_use_from_same_package
return stripe.redirectToCheckout(
context: context,
sessionId: sessionId,
publishableKey: publishableKey,
stripeAccountId: stripeAccountId,
successUrl: successUrl,
canceledUrl: canceledUrl,
);
}