ApplePaySheetError.expiredCouponCode constructor

  1. @FreezedUnionValue('ExpiredCouponCode')
  2. @JsonSerializable(explicitToJson: true)
const ApplePaySheetError.expiredCouponCode({
  1. String? message,
})

Use this in case the entered coupon code has expired

Implementation

@FreezedUnionValue('ExpiredCouponCode')
@JsonSerializable(explicitToJson: true)

/// Use this in case the entered coupon code has expired
const factory ApplePaySheetError.expiredCouponCode(
    {
    // message that needs to be displayed on the sheet
    String? message}) = _ApplePaySheetErrorExpiredCouponCode;