2023-07-29 19:46:11 +02:00
|
|
|
class Product {
|
|
|
|
final int id;
|
|
|
|
final String name;
|
|
|
|
final double calories;
|
|
|
|
final double protein;
|
|
|
|
final double carb;
|
|
|
|
final double fat;
|
|
|
|
|
2023-07-29 20:10:59 +02:00
|
|
|
const Product({
|
2023-07-29 19:46:11 +02:00
|
|
|
required this.id,
|
2023-07-29 20:10:59 +02:00
|
|
|
required this.name,
|
|
|
|
required this.calories,
|
|
|
|
required this.protein,
|
|
|
|
required this.carb,
|
|
|
|
required this.fat,
|
2023-07-29 19:46:11 +02:00
|
|
|
});
|
|
|
|
}
|