InvoicesResourceInvoiceRendering.fromJson constructor
InvoicesResourceInvoiceRendering.fromJson(
- Object? json
Implementation
factory InvoicesResourceInvoiceRendering.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return InvoicesResourceInvoiceRendering(
amountTaxDisplay: map['amount_tax_display'] == null
? null
: (map['amount_tax_display'] as String),
pdf: map['pdf'] == null ? null : InvoiceRenderingPdf.fromJson(map['pdf']),
);
}