2024-10-29 18:39:40 +04:00
|
|
|
class GameData {
|
2024-11-15 21:47:58 +04:00
|
|
|
final int? id;
|
2024-10-29 18:39:40 +04:00
|
|
|
final String name;
|
2024-11-15 21:47:58 +04:00
|
|
|
//final int price;
|
|
|
|
final DateTime date;
|
2024-10-29 18:39:40 +04:00
|
|
|
final String? image;
|
|
|
|
//Описание игры
|
|
|
|
final String? description;
|
|
|
|
|
|
|
|
GameData(
|
2024-11-15 21:47:58 +04:00
|
|
|
{ this.id,
|
|
|
|
required this.name,
|
|
|
|
//required this.price,
|
|
|
|
required this.date,
|
2024-10-29 18:39:40 +04:00
|
|
|
this.description,
|
|
|
|
this.image =
|
|
|
|
'https://parpol.ru/wp-content/uploads/2019/09/placeholder.png'});
|
|
|
|
}
|