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