Nutrition constructor
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,
Implementation
Nutrition({
this.addedSugars,
this.addedSugarsDailyPercentage,
this.calcium,
this.calciumDailyPercentage,
this.cholesterol,
this.cholesterolDailyPercentage,
this.dietaryFiber,
this.dietaryFiberDailyPercentage,
this.energy,
this.energyFromFat,
this.folateDailyPercentage,
this.folateFolicAcid,
this.folateMcgDfe,
this.iron,
this.ironDailyPercentage,
this.monounsaturatedFat,
this.nutritionFactMeasure,
this.polyols,
this.polyunsaturatedFat,
this.potassium,
this.potassiumDailyPercentage,
this.preparedSizeDescription,
this.protein,
this.proteinDailyPercentage,
this.saturatedFat,
this.saturatedFatDailyPercentage,
this.servingSizeDescription,
this.servingSizeMeasure,
this.servingsPerContainer,
this.sodium,
this.sodiumDailyPercentage,
this.starch,
this.totalCarbohydrate,
this.totalCarbohydrateDailyPercentage,
this.totalFat,
this.totalFatDailyPercentage,
this.totalSugars,
this.totalSugarsDailyPercentage,
this.transFat,
this.transFatDailyPercentage,
this.vitaminD,
this.vitaminDDailyPercentage,
this.voluntaryNutritionFact,
});