screenlessApplePayPayment method

  1. @override
Future<ScreenlessResult> screenlessApplePayPayment(
  1. ApplePayPayment applePayPayment
)
override

Method used to start screenless Apple Pay payment

Implementation

@override
Future<ScreenlessResult> screenlessApplePayPayment(ApplePayPayment applePayPayment) async {
  final result = await methodChannel.invokeMethod(screenlessApplePayMethod, jsonEncode(applePayPayment));

  return mapScreenlessResult(result);
}