fooder-app/lib/models/entry.dart

25 lines
465 B
Dart
Raw Normal View History

2023-07-29 19:46:11 +02:00
import 'package:fooder_web/models/product.dart';
2023-07-29 19:21:02 +02:00
class Entry {
2023-07-29 19:46:11 +02:00
final int id;
final double grams;
final Product product;
final int mealId;
2023-07-29 19:21:02 +02:00
final double calories;
final double protein;
final double fat;
final double carb;
const Entry({
2023-07-29 19:46:11 +02:00
required this.id,
required this.grams,
required this.product,
required this.mealId,
2023-07-29 19:21:02 +02:00
required this.calories,
required this.protein,
required this.fat,
required this.carb,
});
}