TaxProductResourceCustomerDetailsResourceTaxId.fromJson constructor

TaxProductResourceCustomerDetailsResourceTaxId.fromJson(
  1. Object? json
)

Implementation

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