when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult googlePay(
- GooglePayParams googlePayParams,
- GooglePayPaymentMethodParams googlePayPaymentMethodParams
- required TResult applePay(
- ApplePayParams applePayParams
- required TResult web(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(GooglePayParams googlePayParams,
GooglePayPaymentMethodParams googlePayPaymentMethodParams)
googlePay,
required TResult Function(ApplePayParams applePayParams) applePay,
required TResult Function(PlatformPayWebPaymentRequestCreateOptions options)
web,
}) =>
throw _privateConstructorUsedError;