utils/ProductFields library

Enums

ProductField
Fields of a Product

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.