feat: delivery type
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import 'package:enaklo_pos/core/assets/assets.gen.dart';
|
||||
import 'package:enaklo_pos/data/models/response/delivery_response_model.dart';
|
||||
|
||||
List<DeliveryModel> deliveries = [
|
||||
DeliveryModel(
|
||||
id: 'gojek',
|
||||
name: 'Gojek',
|
||||
imageUrl: Assets.images.gojek.path,
|
||||
),
|
||||
DeliveryModel(
|
||||
id: 'grab',
|
||||
name: 'Grab',
|
||||
imageUrl: Assets.images.grab.path,
|
||||
),
|
||||
];
|
||||
@@ -0,0 +1,11 @@
|
||||
class DeliveryModel {
|
||||
String id;
|
||||
String name;
|
||||
String imageUrl;
|
||||
|
||||
DeliveryModel({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.imageUrl,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user