TaxonomyLabel class

A JSON-serializable version of a Label taxonomy result.

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

Inheritance

Constructors

TaxonomyLabel(Map<OpenFoodFactsLanguage, String>? authAddress, Map<OpenFoodFactsLanguage, String>? authName, Map<OpenFoodFactsLanguage, String>? authUrl, Map<OpenFoodFactsLanguage, String>? categories, List<String>? children, Map<OpenFoodFactsLanguage, String>? countriesWhereSold, Map<OpenFoodFactsLanguage, String>? country, Map<OpenFoodFactsLanguage, String>? description, Map<OpenFoodFactsLanguage, String>? euGroups, Map<OpenFoodFactsLanguage, String>? exceptions, Map<OpenFoodFactsLanguage, String>? image, Map<OpenFoodFactsLanguage, String>? images, Map<OpenFoodFactsLanguage, String>? ingredients, Map<OpenFoodFactsLanguage, String>? labelCategories, Map<OpenFoodFactsLanguage, String>? manufacturingPlaces, Map<OpenFoodFactsLanguage, String>? name, Map<OpenFoodFactsLanguage, String>? opposite, Map<OpenFoodFactsLanguage, String>? origins, Map<OpenFoodFactsLanguage, String>? packaging, Map<OpenFoodFactsLanguage, String>? packagingPlaces, List<String>? parents, Map<OpenFoodFactsLanguage, String>? protectedNameType, Map<OpenFoodFactsLanguage, String>? stores, Map<OpenFoodFactsLanguage, String>? wikidata)
TaxonomyLabel.fromJson(Map<String, dynamic> json)
factory

Properties

authAddress Map<OpenFoodFactsLanguage, String>?
getter/setter pair
authName Map<OpenFoodFactsLanguage, String>?
getter/setter pair
authUrl Map<OpenFoodFactsLanguage, String>?
getter/setter pair
categories Map<OpenFoodFactsLanguage, String>?
getter/setter pair
children List<String>?
getter/setter pair
countriesWhereSold Map<OpenFoodFactsLanguage, String>?
getter/setter pair
country Map<OpenFoodFactsLanguage, String>?
getter/setter pair
description Map<OpenFoodFactsLanguage, String>?
getter/setter pair
euGroups Map<OpenFoodFactsLanguage, String>?
getter/setter pair
exceptions Map<OpenFoodFactsLanguage, String>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
image Map<OpenFoodFactsLanguage, String>?
getter/setter pair
images Map<OpenFoodFactsLanguage, String>?
getter/setter pair
ingredients Map<OpenFoodFactsLanguage, String>?
getter/setter pair
labelCategories Map<OpenFoodFactsLanguage, String>?
getter/setter pair
manufacturingPlaces Map<OpenFoodFactsLanguage, String>?
getter/setter pair
name Map<OpenFoodFactsLanguage, String>?
getter/setter pair
opposite Map<OpenFoodFactsLanguage, String>?
getter/setter pair
origins Map<OpenFoodFactsLanguage, String>?
getter/setter pair
packaging Map<OpenFoodFactsLanguage, String>?
getter/setter pair
packagingPlaces Map<OpenFoodFactsLanguage, String>?
getter/setter pair
parents List<String>?
getter/setter pair
protectedNameType Map<OpenFoodFactsLanguage, String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stores Map<OpenFoodFactsLanguage, String>?
getter/setter pair
wikidata 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