InvoiceSettingQuoteSetting.fromJson constructor
InvoiceSettingQuoteSetting.fromJson(
- Object? json
Implementation
factory InvoiceSettingQuoteSetting.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return InvoiceSettingQuoteSetting(
daysUntilDue: map['days_until_due'] == null
? null
: (map['days_until_due'] as num).toInt(),
issuer: ConnectAccountReference.fromJson(map['issuer']),
);
}