map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult invalidShippingField(
    1. _ApplePaySheetErrorInvalidShipping value
    ),
  2. required TResult unserviceableShippingAddress(
    1. _ApplePaySheetErrorUnserviceableShipping value
    ),
  3. required TResult invalidCouponCode(
    1. _ApplePaySheetErrorInvalidCouponCode value
    ),
  4. required TResult expiredCouponCode(
    1. _ApplePaySheetErrorExpiredCouponCode value
    ),
})
inherited

Implementation

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