19 lines
373 B
Dart
19 lines
373 B
Dart
class CardData {
|
|
final String name;
|
|
final String imageUrl;
|
|
final String? type;
|
|
final int? year;
|
|
final String? rating;
|
|
final String? descr;
|
|
final String? id;
|
|
|
|
const CardData(
|
|
{required this.name,
|
|
required this.imageUrl,
|
|
required this.type,
|
|
required this.year,
|
|
required this.rating,
|
|
required this.descr,
|
|
this.id});
|
|
}
|