screenlessGooglePayPayment method

  1. @override
Future<ScreenlessResult> screenlessGooglePayPayment(
  1. GooglePayPayment googlePayPayment
)
override

Method used to start screenless Google Pay payment

Implementation

@override
Future<ScreenlessResult> screenlessGooglePayPayment(GooglePayPayment googlePayPayment) async {
  final result = await methodChannel.invokeMethod(screenlessGooglePayPaymentMethod, jsonEncode(googlePayPayment));

  return mapScreenlessResult(result);
}