TaxCodeOrId.fromJson constructor
TaxCodeOrId.fromJson(
- Object? json
Implementation
factory TaxCodeOrId.fromJson(Object? json) {
if (json is String) {
return TaxCodeId(id: json);
}
return TaxCode.fromJson(json);
}