ApplePaySheetError.unserviceableShippingAddress constructor

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

Use this in case you cannot deliver to the shipping address

Implementation

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

/// Use this in case you cannot deliver to the shipping address
const factory ApplePaySheetError.unserviceableShippingAddress(
    {
    // message that needs to be displayed on the sheet
    String? message}) = _ApplePaySheetErrorUnserviceableShipping;