ApplePaySheetError.invalidShippingField constructor
- @FreezedUnionValue('InvalidShippingAddress')
- @JsonSerializable(explicitToJson: true)
- required InvalidShippingField field,
- String? message,
Use this in case the shipping address is invalid
Implementation
@FreezedUnionValue('InvalidShippingAddress')
@JsonSerializable(explicitToJson: true)
/// Use this in case the shipping address is invalid
const factory ApplePaySheetError.invalidShippingField(
{
// Field that will be marked as invalid
required InvalidShippingField field,
// message that needs to be displayed on the sheet
String? message}) = _ApplePaySheetErrorInvalidShipping;