This commit is contained in:
Dieter Plaetinck
2024-05-21 14:22:10 +02:00
parent d4d298ad9e
commit eeec221499

View File

@@ -72,6 +72,7 @@ class MealItem {
Map<String, dynamic> toJson() => _$MealItemToJson(this);
/// Calculations
/// TODO why does this not consider weightUnitObj ? should we do the same as Log.nutritionalValues here?
NutritionalValues get nutritionalValues {
// This is already done on the server. It might be better to read it from there.
final out = NutritionalValues();