23 lines
470 B
Dart
23 lines
470 B
Dart
|
class CardData {
|
||
|
final String name;
|
||
|
final String imageUrl;
|
||
|
final double? price;
|
||
|
final int? count;
|
||
|
final double? rating;
|
||
|
final int? reviewCount;
|
||
|
final String? descr;
|
||
|
final String? id;
|
||
|
final String? type;
|
||
|
|
||
|
const CardData(
|
||
|
{required this.name,
|
||
|
required this.imageUrl,
|
||
|
required this.price,
|
||
|
required this.count,
|
||
|
required this.reviewCount,
|
||
|
required this.rating,
|
||
|
this.descr,
|
||
|
this.type,
|
||
|
this.id});
|
||
|
}
|