TaxRateOrId.fromJson constructor
TaxRateOrId.fromJson(
- Object? json
Implementation
factory TaxRateOrId.fromJson(Object? json) {
if (json is String) {
return TaxRateId(id: json);
}
return TaxRate.fromJson(json);
}