src/utils/product_fields library

Constants

fieldsAllLanguages → const Set<ProductField>
fieldsInLanguages → const Set<ProductField>

Functions

convertFieldsToStrings(List<ProductField> fields, List<OpenFoodFactsLanguage> languages) List<String>
NOTE: if one of the fields is IN_LANGUAGES and languages is empty - the function will throw.

Enums

ProductField
Fields of a Product