ApplePayErrorAddressField constructor

  1. @JsonSerializable(explicitToJson: true)
const ApplePayErrorAddressField({
  1. required ApplePayContactFieldsType field,
  2. String? message,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory ApplePayErrorAddressField({
  /// Address field that is affected by the error
  required ApplePayContactFieldsType field,

  /// The error message that will be shown when it is invalid
  ///
  /// Defaults to error in the stripe sdk.
  String? message,
}) = _ApplePayErrorAddressField;