TaxonomyName enum

Taxonomy Name for Elastic Search API.

cf. https://github.com/openfoodfacts/search-a-licious/blob/main/data/config/openfoodfacts.yml

Inheritance
Implemented types

Constructors

TaxonomyName({required String offTag})
const

Values

category → const TaxonomyName
const TaxonomyName(offTag: 'category')
label → const TaxonomyName
const TaxonomyName(offTag: 'label')
additive → const TaxonomyName
const TaxonomyName(offTag: 'additive')
allergen → const TaxonomyName
const TaxonomyName(offTag: 'allergen')
aminoAcid → const TaxonomyName
const TaxonomyName(offTag: 'amino_acid')
country → const TaxonomyName
const TaxonomyName(offTag: 'country')
dataQuality → const TaxonomyName
const TaxonomyName(offTag: 'data_quality')
foodGroup → const TaxonomyName
const TaxonomyName(offTag: 'food_group')
improvement → const TaxonomyName
const TaxonomyName(offTag: 'improvement')
ingredient → const TaxonomyName
const TaxonomyName(offTag: 'ingredient')
ingredientAnalysis → const TaxonomyName
const TaxonomyName(offTag: 'ingredients_analysis')
ingredientProcessing → const TaxonomyName
const TaxonomyName(offTag: 'ingredients_processing')
language → const TaxonomyName
const TaxonomyName(offTag: 'language')
mineral → const TaxonomyName
const TaxonomyName(offTag: 'mineral')
misc → const TaxonomyName
const TaxonomyName(offTag: 'misc')
novaGroup → const TaxonomyName
const TaxonomyName(offTag: 'nova_group')
nucleotide → const TaxonomyName
const TaxonomyName(offTag: 'nucleotide')
nutrient → const TaxonomyName
const TaxonomyName(offTag: 'nutrient')
origin → const TaxonomyName
const TaxonomyName(offTag: 'origin')
otherNutritionalSubstance → const TaxonomyName
const TaxonomyName(offTag: 'other_nutritional_substance')
packagingMaterial → const TaxonomyName
const TaxonomyName(offTag: 'packaging_material')
packagingRecycling → const TaxonomyName
const TaxonomyName(offTag: 'packaging_recycling')
packagingShape → const TaxonomyName
const TaxonomyName(offTag: 'packaging_shape')
periodsAfterOpening → const TaxonomyName
const TaxonomyName(offTag: 'periods_after_opening')
preservation → const TaxonomyName
const TaxonomyName(offTag: 'preservation')
state → const TaxonomyName
const TaxonomyName(offTag: 'state')
vitamin → const TaxonomyName
const TaxonomyName(offTag: 'vitamin')
brand → const TaxonomyName
const TaxonomyName(offTag: 'brand')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
offTag String
Identifying tag used in the rest of OFF.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromOffTag(String? offTag) TaxonomyName?
Returns the TaxonomyName that matches the offTag.
override

Constants

values → const List<TaxonomyName>
A constant List of the values in this enum, in order of their declaration.