TaxProductResourceTaxSettingsDefaults.fromJson constructor
TaxProductResourceTaxSettingsDefaults.fromJson(
- Object? json
Implementation
factory TaxProductResourceTaxSettingsDefaults.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return TaxProductResourceTaxSettingsDefaults(
taxBehavior: map['tax_behavior'] == null
? null
: TaxProductResourceTaxSettingsDefaultsTaxBehavior.fromJson(
map['tax_behavior']),
taxCode: map['tax_code'] == null ? null : (map['tax_code'] as String),
);
}