InvoiceLineItemTaxAmountsItem.fromJson constructor
InvoiceLineItemTaxAmountsItem.fromJson(
- Object? json
Implementation
factory InvoiceLineItemTaxAmountsItem.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return InvoiceLineItemTaxAmountsItem(
amount: (map['amount'] as num).toInt(),
taxRateData: InvoiceLineItemTaxRateData.fromJson(map['tax_rate_data']),
taxableAmount: (map['taxable_amount'] as num).toInt(),
);
}