maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult googlePay()?,
- TResult applePay()?,
- TResult web()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(PlatformPayPaymentMethodParamsGooglePay value)? googlePay,
TResult Function(PlatformPayPaymentMethodParamsApplePay value)? applePay,
TResult Function(PlatformPayPaymentMethodParamsWeb value)? web,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;