RazorpayInvoiceAddress constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayInvoiceAddress({
  1. required String id,
  2. required String type,
  3. required bool primary,
  4. required String line1,
  5. required dynamic zipcode,
  6. String? name,
  7. String? tag,
  8. String? landmark,
  9. String? line2,
  10. String? state,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayInvoiceAddress({
  required String id,
  required String type,
  required bool primary,
  // Base fields
  required String line1,
  required dynamic
      zipcode, // string | number, required String city, required String country, String? contact, // Nullable string
  String? name, // Nullable string
  String? tag, // Nullable string
  String? landmark, // Nullable string
  String? line2,
  String? state,
}) = _RazorpayInvoiceAddress;