getAllergens

suspend fun getAllergens(checkUpdate: Boolean = false): List<Allergen>


suspend fun getAllergens(isEnabled: Boolean, lc: String): <Error class: unknown class>

Loads translated and selected/unselected allergens.

Return

The list of allergen names

Parameters

isEnabled

depends on whether allergen was selected or unselected by user

lc

is a 2-digit language code


suspend fun getAllergens(languageCode: String?): <Error class: unknown class>

Loads all translated allergens.

Return

The list of translated allergen names

Parameters

languageCode

is a 2-digit language code