mobdr/lib/model/wishlist_model.dart

69 lines
1.7 KiB
Dart

import 'package:mobdr/config/constant.dart';
class WishlistModel {
late int id;
late String name;
late double price;
late String image;
late double rating;
late int review;
late int sale;
late int stock;
late String location;
late int photo;
late String date;
WishlistModel(
{required this.id,
required this.name,
required this.price,
required this.photo,
required this.image,
required this.rating,
required this.review,
required this.sale,
required this.stock,
required this.location,
required this.date});
}
List<WishlistModel> wishlistData = [
WishlistModel(
id: 1,
name: "Villeneuve d'asc ONE-STEP",
price: 62,
photo: 1,
image:
'https://mp4.ikksgroup.com/photos/1/0/1/8/4/4/101844-thumbnail.JPG',
rating: 5,
review: 42,
sale: 4,
stock: 5,
location: "Villeneuve d'asc",
date: 'Dimanche 26/02/2023 14:00'),
WishlistModel(
id: 2,
name: 'BARDI Smart PLUG WiFi Wireless Colokan - IoT Smart Home',
price: 11.46,
photo: 2,
image: GLOBAL_URL + '/apps/ecommerce/product/69.jpg',
rating: 5,
review: 1062,
sale: 4797,
stock: 0,
location: 'Brooklyn',
date: 'Dimanche 26/02/2023 15:00'),
WishlistModel(
id: 3,
name: 'ipad Pro 2020 11-inch 128GB Wi-Fi Only - Silver',
price: 866,
photo: 3,
image: GLOBAL_URL + '/apps/ecommerce/product/49.jpg',
rating: 5,
review: 22,
sale: 468,
stock: 25,
location: 'Brooklyn',
date: 'Dimanche 26/02/2023 16:00'),
];