maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult invalidShippingField(
- _ApplePaySheetErrorInvalidShipping value
- TResult unserviceableShippingAddress(
- _ApplePaySheetErrorUnserviceableShipping value
- TResult invalidCouponCode(
- _ApplePaySheetErrorInvalidCouponCode value
- TResult expiredCouponCode(
- _ApplePaySheetErrorExpiredCouponCode value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(_ApplePaySheetErrorInvalidShipping value)?
invalidShippingField,
TResult Function(_ApplePaySheetErrorUnserviceableShipping value)?
unserviceableShippingAddress,
TResult Function(_ApplePaySheetErrorInvalidCouponCode value)?
invalidCouponCode,
TResult Function(_ApplePaySheetErrorExpiredCouponCode value)?
expiredCouponCode,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;