From 19fa09553125f0be8112e5be39de84d1da9e1eb1 Mon Sep 17 00:00:00 2001 From: David Pryor Date: Wed, 24 Jan 2024 12:53:00 -0500 Subject: [PATCH] Added "addedSugars" to Nutrient enum * Nutrient already supported server-side https://github.com/openfoodfacts/openfoodfacts-server/blob/acf96bb5625f02ea1bc3bc0bcbdb82153a896517/taxonomies/nutrients.txt#L2098 --- lib/src/model/nutrient.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/model/nutrient.dart b/lib/src/model/nutrient.dart index 5e3eca0838..d05e85f8ac 100644 --- a/lib/src/model/nutrient.dart +++ b/lib/src/model/nutrient.dart @@ -15,6 +15,9 @@ enum Nutrient implements OffTagged { /// Sugars sugars(typicalUnit: Unit.G, offTag: 'sugars'), + /// Added Sugars + addedSugars(typicalUnit: Unit.G, offTag: 'added-sugars'), + /// Fats fat(typicalUnit: Unit.G, offTag: 'fat'),