55 lines
1.1 KiB
Dart
55 lines
1.1 KiB
Dart
|
|
import '../presentation/components/assets/assets.gen.dart';
|
||
|
|
|
||
|
|
class MerchantModel {
|
||
|
|
final String id;
|
||
|
|
final String name;
|
||
|
|
final String category;
|
||
|
|
final double rating;
|
||
|
|
final bool isOpen;
|
||
|
|
final String imageUrl;
|
||
|
|
|
||
|
|
MerchantModel({
|
||
|
|
required this.id,
|
||
|
|
required this.name,
|
||
|
|
required this.category,
|
||
|
|
required this.rating,
|
||
|
|
required this.isOpen,
|
||
|
|
required this.imageUrl,
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
List<MerchantModel> merchants = [
|
||
|
|
MerchantModel(
|
||
|
|
id: 'hsjdhaj12',
|
||
|
|
name: 'Bakso 343',
|
||
|
|
category: 'Restaurant',
|
||
|
|
rating: 5,
|
||
|
|
isOpen: true,
|
||
|
|
imageUrl: Assets.images.bakso343.path,
|
||
|
|
),
|
||
|
|
MerchantModel(
|
||
|
|
id: 'ahjs7812',
|
||
|
|
name: 'Tumulu Coffee',
|
||
|
|
category: 'Coffe Shop',
|
||
|
|
rating: 5,
|
||
|
|
isOpen: true,
|
||
|
|
imageUrl: Assets.images.tumulu.path,
|
||
|
|
),
|
||
|
|
MerchantModel(
|
||
|
|
id: 'ahjs7812',
|
||
|
|
name: 'Ramenmulu',
|
||
|
|
category: 'Ramen',
|
||
|
|
rating: 5,
|
||
|
|
isOpen: true,
|
||
|
|
imageUrl: Assets.images.ramenmulu.path,
|
||
|
|
),
|
||
|
|
MerchantModel(
|
||
|
|
id: '178271bjas',
|
||
|
|
name: 'Woku Pedas',
|
||
|
|
category: 'Restaurant',
|
||
|
|
rating: 5,
|
||
|
|
isOpen: true,
|
||
|
|
imageUrl: Assets.images.woku.path,
|
||
|
|
),
|
||
|
|
];
|