QuoteInvoiceOrId.fromJson constructor
QuoteInvoiceOrId.fromJson(
- Object? json
Implementation
factory QuoteInvoiceOrId.fromJson(Object? json) {
if (json is String?) {
return QuoteInvoiceId(id: json);
}
return QuoteInvoice.fromJson(json);
}