2024-10-04 20:36:43 +04:00
|
|
|
class CardData {
|
2024-10-04 23:46:07 +04:00
|
|
|
final String name;
|
2024-10-04 20:36:43 +04:00
|
|
|
final String imageUrl;
|
2024-10-06 18:19:38 +04:00
|
|
|
final String? type;
|
|
|
|
final int? year;
|
|
|
|
final String? rating;
|
|
|
|
final String? descr;
|
|
|
|
final String? id;
|
2024-10-04 20:36:43 +04:00
|
|
|
|
2024-10-04 23:46:07 +04:00
|
|
|
const CardData(
|
2024-10-06 18:19:38 +04:00
|
|
|
{required this.name,
|
|
|
|
required this.imageUrl,
|
|
|
|
required this.type,
|
|
|
|
required this.year,
|
|
|
|
required this.rating,
|
|
|
|
required this.descr,
|
|
|
|
this.id});
|
2024-10-04 20:36:43 +04:00
|
|
|
}
|