NutritionLog constructor

NutritionLog({
  1. EnergyQuantity? energy,
  2. EnergyQuantity? energyFromFat,
  3. String? food,
  4. String? foodDisplayName,
  5. SessionTimeInterval? interval,
  6. String? mealType,
  7. List<NutrientQuantity>? nutrients,
  8. Serving? serving,
  9. WeightQuantity? totalCarbohydrate,
  10. WeightQuantity? totalFat,
})

Implementation

NutritionLog({
  this.energy,
  this.energyFromFat,
  this.food,
  this.foodDisplayName,
  this.interval,
  this.mealType,
  this.nutrients,
  this.serving,
  this.totalCarbohydrate,
  this.totalFat,
});