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