setAllergenEnabled

suspend fun setAllergenEnabled(allergenTag: String, isEnabled: Boolean): <Error class: unknown class>

Changes enabled field of allergen and updates it.

Parameters

isEnabled

depends on whether user selected or unselected the allergen

allergenTag

is unique Id of allergen