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