RazorpayInvoiceAddress constructor
- @JsonSerializable(includeIfNull: false)
const
RazorpayInvoiceAddress(
{ - required String id,
- required String type,
- required bool primary,
- required String line1,
- required dynamic zipcode,
- String? name,
- String? tag,
- String? landmark,
- String? line2,
- 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;