InvoicesResourceInvoiceTaxId.fromJson constructor
InvoicesResourceInvoiceTaxId.fromJson(
- Object? json
Implementation
factory InvoicesResourceInvoiceTaxId.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return InvoicesResourceInvoiceTaxId(
type: InvoicesResourceInvoiceTaxIdType.fromJson(map['type']),
value: map['value'] == null ? null : (map['value'] as String),
);
}