TaxProductResourceLineItemTaxRateDetails.fromJson constructor
TaxProductResourceLineItemTaxRateDetails.fromJson(
- Object? json
Implementation
factory TaxProductResourceLineItemTaxRateDetails.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return TaxProductResourceLineItemTaxRateDetails(
displayName: (map['display_name'] as String),
percentageDecimal: (map['percentage_decimal'] as String),
taxType:
TaxProductResourceLineItemTaxBreakdownTaxRateDetailsTaxType.fromJson(
map['tax_type']),
);
}