12345678910111213141516171819202122232425262728 |
- class DishModel {
- String name;
- String cost;
- String time;
-
-
- String canteen;
- bool star = false, like = false;
-
- DishModel(this.name, this.cost, this.time, this.canteen,
- {bool like = false, bool star = false, DateTime? star_time}) {
- this.like = like;
- this.star = star;
-
- }
- }
- class DishsModel {
- List<DishModel> dishs = [];
- DishsModel();
- DishsModel.fromJson(Map<String, dynamic> json) {}
- }
|