Flutter-Ernaehrungsapp/lib/models/card.dart

14 lines
312 B
Dart
Raw Normal View History

2023-05-29 12:08:46 +02:00
class CardModel{
final String _name;
final int _calories;
final double _fat;
final double _protein;
CardModel(this._name, this._calories, this._fat, this._protein);
String get getName => _name;
int get getCalories => _calories;
double get getFat => _fat;
double get getProtein => _protein;
}