TaxonomyCategory class

A JSON-serializable version of a category taxonomy result.

See OpenFoodAPIClient.getTaxonomy for more details on how to retrieve one of these.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

TaxonomyCategory(Map<OpenFoodFactsLanguage, String>? agribalyseFoodCode, Map<OpenFoodFactsLanguage, String>? agribalyseFoodName, Map<OpenFoodFactsLanguage, String>? agribalyseProxyFoodCode, Map<OpenFoodFactsLanguage, String>? agribalyseProxyFoodName, Map<OpenFoodFactsLanguage, String>? agribalyseProxyName, Map<OpenFoodFactsLanguage, String>? carbonFootprintFrFoodgesIngredient, List<String>? children, Map<OpenFoodFactsLanguage, String>? ciqualFoodCode, Map<OpenFoodFactsLanguage, String>? ciqualFoodName, Map<OpenFoodFactsLanguage, String>? ciqualProxyFoodCode, Map<OpenFoodFactsLanguage, String>? ciqualProxyFoodName, Map<OpenFoodFactsLanguage, String>? country, Map<OpenFoodFactsLanguage, String>? grapevariety, Map<OpenFoodFactsLanguage, String>? instanceof, Map<OpenFoodFactsLanguage, String>? name, Map<OpenFoodFactsLanguage, String>? nova, Map<OpenFoodFactsLanguage, String>? oqaliFamily, Map<OpenFoodFactsLanguage, String>? origins, List<String>? parents, Map<OpenFoodFactsLanguage, String>? pnnsGroup1, Map<OpenFoodFactsLanguage, String>? pnnsGroup2, Map<OpenFoodFactsLanguage, String>? protectedNameFileNumber, Map<OpenFoodFactsLanguage, String>? protectedNameType, Map<OpenFoodFactsLanguage, String>? region, Map<OpenFoodFactsLanguage, String>? seasonInCountryFr, Map<OpenFoodFactsLanguage, String>? whoId, Map<OpenFoodFactsLanguage, String>? wikidata, Map<OpenFoodFactsLanguage, String>? wikidataCategory, Map<OpenFoodFactsLanguage, String>? wikidataWikipediaCategory)
TaxonomyCategory.fromJson(Map<String, dynamic> json)
factory

Properties

agribalyseFoodCode Map<OpenFoodFactsLanguage, String>?
getter/setter pair
agribalyseFoodName Map<OpenFoodFactsLanguage, String>?
getter/setter pair
agribalyseProxyFoodCode Map<OpenFoodFactsLanguage, String>?
getter/setter pair
agribalyseProxyFoodName Map<OpenFoodFactsLanguage, String>?
getter/setter pair
agribalyseProxyName Map<OpenFoodFactsLanguage, String>?
getter/setter pair
carbonFootprintFrFoodgesIngredient Map<OpenFoodFactsLanguage, String>?
getter/setter pair
children List<String>?
getter/setter pair
ciqualFoodCode Map<OpenFoodFactsLanguage, String>?
getter/setter pair
ciqualFoodName Map<OpenFoodFactsLanguage, String>?
getter/setter pair
ciqualProxyFoodCode Map<OpenFoodFactsLanguage, String>?
getter/setter pair
ciqualProxyFoodName Map<OpenFoodFactsLanguage, String>?
getter/setter pair
country Map<OpenFoodFactsLanguage, String>?
getter/setter pair
grapevariety Map<OpenFoodFactsLanguage, String>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
instanceof Map<OpenFoodFactsLanguage, String>?
getter/setter pair
name Map<OpenFoodFactsLanguage, String>?
getter/setter pair
nova Map<OpenFoodFactsLanguage, String>?
getter/setter pair
oqaliFamily Map<OpenFoodFactsLanguage, String>?
getter/setter pair
origins Map<OpenFoodFactsLanguage, String>?
getter/setter pair
parents List<String>?
getter/setter pair
pnnsGroup1 Map<OpenFoodFactsLanguage, String>?
getter/setter pair
pnnsGroup2 Map<OpenFoodFactsLanguage, String>?
getter/setter pair
protectedNameFileNumber Map<OpenFoodFactsLanguage, String>?
getter/setter pair
protectedNameType Map<OpenFoodFactsLanguage, String>?
getter/setter pair
region Map<OpenFoodFactsLanguage, String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seasonInCountryFr Map<OpenFoodFactsLanguage, String>?
getter/setter pair
whoId Map<OpenFoodFactsLanguage, String>?
getter/setter pair
wikidata Map<OpenFoodFactsLanguage, String>?
getter/setter pair
wikidataCategory Map<OpenFoodFactsLanguage, String>?
getter/setter pair
wikidataWikipediaCategory Map<OpenFoodFactsLanguage, String>?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override
toValueString() String
Returns all values as a String separated by a hyphen value1 - value2 - value3
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited