ApplePaySheetError.invalidCouponCode constructor

  1. @FreezedUnionValue('InvalidCouponCode')
const ApplePaySheetError.invalidCouponCode({
  1. String? message,
})

Use this in case the entered coupon code is wrong

Implementation

@FreezedUnionValue('InvalidCouponCode')

/// Use this in case the entered coupon code is wrong
const factory ApplePaySheetError.invalidCouponCode(
    {
    // message that needs to be displayed on the sheet
    String? message}) = _ApplePaySheetErrorInvalidCouponCode;