Nutrition class
Constructors
-
Nutrition({FloatUnit? addedSugars, double? addedSugarsDailyPercentage, FloatUnit? calcium, double? calciumDailyPercentage, FloatUnit? cholesterol, double? cholesterolDailyPercentage, FloatUnit? dietaryFiber, double? dietaryFiberDailyPercentage, FloatUnit? energy, FloatUnit? energyFromFat, double? folateDailyPercentage, FloatUnit? folateFolicAcid, double? folateMcgDfe, FloatUnit? iron, double? ironDailyPercentage, FloatUnit? monounsaturatedFat, String? nutritionFactMeasure, FloatUnit? polyols, FloatUnit? polyunsaturatedFat, FloatUnit? potassium, double? potassiumDailyPercentage, String? preparedSizeDescription, FloatUnit? protein, double? proteinDailyPercentage, FloatUnit? saturatedFat, double? saturatedFatDailyPercentage, String? servingSizeDescription, FloatUnit? servingSizeMeasure, String? servingsPerContainer, FloatUnit? sodium, double? sodiumDailyPercentage, FloatUnit? starch, FloatUnit? totalCarbohydrate, double? totalCarbohydrateDailyPercentage, FloatUnit? totalFat, double? totalFatDailyPercentage, FloatUnit? totalSugars, double? totalSugarsDailyPercentage, FloatUnit? transFat, double? transFatDailyPercentage, FloatUnit? vitaminD, double? vitaminDDailyPercentage, List<
VoluntaryNutritionFact> ? voluntaryNutritionFact}) - Nutrition.fromJson(Map json_)
Properties
- addedSugars ↔ FloatUnit?
-
Added sugars.
getter/setter pair
- addedSugarsDailyPercentage ↔ double?
-
Added sugars daily percentage.
getter/setter pair
- calcium ↔ FloatUnit?
-
Calcium.
getter/setter pair
- calciumDailyPercentage ↔ double?
-
Calcium daily percentage.
getter/setter pair
- cholesterol ↔ FloatUnit?
-
Cholesterol.
getter/setter pair
- cholesterolDailyPercentage ↔ double?
-
Cholesterol daily percentage.
getter/setter pair
- dietaryFiber ↔ FloatUnit?
-
Dietary fiber.
getter/setter pair
- dietaryFiberDailyPercentage ↔ double?
-
Dietary fiber daily percentage.
getter/setter pair
- energy ↔ FloatUnit?
-
Mandatory Nutrition Facts.
getter/setter pair
- energyFromFat ↔ FloatUnit?
-
Energy from fat.
getter/setter pair
- folateDailyPercentage ↔ double?
-
Folate daily percentage.
getter/setter pair
- folateFolicAcid ↔ FloatUnit?
-
Folate folic acid.
getter/setter pair
- folateMcgDfe ↔ double?
-
Folate mcg DFE.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iron ↔ FloatUnit?
-
Iron.
getter/setter pair
- ironDailyPercentage ↔ double?
-
Iron daily percentage.
getter/setter pair
- monounsaturatedFat ↔ FloatUnit?
-
Monounsaturated fat.
getter/setter pair
- nutritionFactMeasure ↔ String?
-
Nutrition fact measure.
getter/setter pair
- polyols ↔ FloatUnit?
-
Polyols.
getter/setter pair
- polyunsaturatedFat ↔ FloatUnit?
-
Polyunsaturated fat.
getter/setter pair
- potassium ↔ FloatUnit?
-
Potassium.
getter/setter pair
- potassiumDailyPercentage ↔ double?
-
Potassium daily percentage.
getter/setter pair
- preparedSizeDescription ↔ String?
-
Prepared size description.
getter/setter pair
- protein ↔ FloatUnit?
-
Protein.
getter/setter pair
- proteinDailyPercentage ↔ double?
-
Protein daily percentage.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saturatedFat ↔ FloatUnit?
-
Saturated fat.
getter/setter pair
- saturatedFatDailyPercentage ↔ double?
-
Saturated fat daily percentage.
getter/setter pair
- servingSizeDescription ↔ String?
-
Food Serving Size.
getter/setter pair
- servingSizeMeasure ↔ FloatUnit?
-
Serving size measure.
getter/setter pair
- servingsPerContainer ↔ String?
-
Servings per container.
getter/setter pair
- sodium ↔ FloatUnit?
-
Sodium.
getter/setter pair
- sodiumDailyPercentage ↔ double?
-
Sodium daily percentage.
getter/setter pair
- starch ↔ FloatUnit?
-
Starch.
getter/setter pair
- totalCarbohydrate ↔ FloatUnit?
-
Total carbohydrate.
getter/setter pair
- totalCarbohydrateDailyPercentage ↔ double?
-
Total carbohydrate daily percentage.
getter/setter pair
- totalFat ↔ FloatUnit?
-
Total fat.
getter/setter pair
- totalFatDailyPercentage ↔ double?
-
Total fat daily percentage.
getter/setter pair
- totalSugars ↔ FloatUnit?
-
Total sugars.
getter/setter pair
- totalSugarsDailyPercentage ↔ double?
-
Total sugars daily percentage.
getter/setter pair
- transFat ↔ FloatUnit?
-
Trans fat.
getter/setter pair
- transFatDailyPercentage ↔ double?
-
Trans fat daily percentage.
getter/setter pair
- vitaminD ↔ FloatUnit?
-
Vitamin D.
getter/setter pair
- vitaminDDailyPercentage ↔ double?
-
Vitamin D daily percentage.
getter/setter pair
-
voluntaryNutritionFact
↔ List<
VoluntaryNutritionFact> ? -
Voluntary nutrition fact.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited