RazorpayAccountDocuments constructor
- @JsonSerializable(includeIfNull: false)
const
RazorpayAccountDocuments(
{ - List<RazorpayAccountDocument>? business_proof_of_identification,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory RazorpayAccountDocuments({
// The TS definition uses a tuple `[...]`, JSON will likely be a list.
// Using List<RazorpayAccountDocument> for flexibility.
// Adjust the key if the actual JSON key is different.
List<RazorpayAccountDocument>? business_proof_of_identification,
// Add other document types if needed based on actual API response
}) = _RazorpayAccountDocuments;