presentApplePay method

Future<String> presentApplePay(
  1. ApplePayOrder order
)

Presents a native payment sheet to the user and returns a token that can be sent to Stripe to complete a payment

Implementation

Future<String> presentApplePay(ApplePayOrder order) async {
  final String nativeToken =
      await _channel.invokeMethod('presentApplePay', order.toMap());
  return nativeToken;
}