PnnsGroup1 enum
PNNS food groups
PNNS is the French "Programme National Nutrition Santé"
Constructors
-
PnnsGroup1({required String name, required List<
PnnsGroup2> subGroups}) -
const
Values
- BEVERAGES → const PnnsGroup1
-
const PnnsGroup1(name: 'Beverages', subGroups: <PnnsGroup2>[PnnsGroup2.FRUIT_JUICES, PnnsGroup2.SWEETENED_BEVERAGES, PnnsGroup2.ALCOHOLIC_BEVERAGES, PnnsGroup2.UNSWEETENED_BEVERAGES, Pnn…
- CEREALS_AND_POTATOES → const PnnsGroup1
-
const PnnsGroup1(name: 'Cereals and potatoes', subGroups: <PnnsGroup2>[PnnsGroup2.BREAKFAST_CEREALS, PnnsGroup2.PASTRIES, PnnsGroup2.POTATOES, PnnsGroup2.CEREALS, PnnsGroup2.BREAD])
- COMPOSITE_FOODS → const PnnsGroup1
-
const PnnsGroup1(name: 'Composite foods', subGroups: <PnnsGroup2>[PnnsGroup2.PIZZA_PIES_AND_QUICHE, PnnsGroup2.SANDWICHES, PnnsGroup2.SOUPS, PnnsGroup2.ONE_DISH_MEALS])
- FAT_AND_SAUCES → const PnnsGroup1
-
const PnnsGroup1(name: 'Fat and sauces', subGroups: <PnnsGroup2>[PnnsGroup2.DRESSINGS_AND_SAUCES, PnnsGroup2.FATS])
- FISH_MEAT_AND_EGGS → const PnnsGroup1
-
const PnnsGroup1(name: 'Fish, meat and eggs', subGroups: <PnnsGroup2>[PnnsGroup2.PROCESSED_MEAT, PnnsGroup2.MEAT, PnnsGroup2.FISH_AND_SEAFOOD, PnnsGroup2.OFFALS])
- FRUITS_AND_VEGETABLES → const PnnsGroup1
-
const PnnsGroup1(name: 'Fruits and vegetables', subGroups: <PnnsGroup2>[PnnsGroup2.FRUITS, PnnsGroup2.VEGETABLES, PnnsGroup2.DRIED_FRUITS, PnnsGroup2.NUTS, PnnsGroup2.LEGUMES])
- MILK_AND_DAIRIES → const PnnsGroup1
-
const PnnsGroup1(name: 'Milk and dairies', subGroups: <PnnsGroup2>[PnnsGroup2.MILK_AND_YOGURT, PnnsGroup2.DAIRY_DESSERTS, PnnsGroup2.CHEESE, PnnsGroup2.PLANT_BASED_MILK_SUBSTITUTES])
- SALTY_SNACKS → const PnnsGroup1
-
const PnnsGroup1(name: 'Salty snacks', subGroups: <PnnsGroup2>[PnnsGroup2.APPETIZERS, PnnsGroup2.SALTY_AND_FATTY_PRODUCTS])
- SUGARY_SNACKS → const PnnsGroup1
-
const PnnsGroup1(name: 'Sugary snacks', subGroups: <PnnsGroup2>[PnnsGroup2.SWEETS, PnnsGroup2.CHOCOLATE_PRODUCTS, PnnsGroup2.ICE_CREAM])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Name in English
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subGroups
→ List<
PnnsGroup2> -
Subgroups of the group
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PnnsGroup1> - A constant List of the values in this enum, in order of their declaration.