You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
798 B
Dart
43 lines
798 B
Dart
class FilterListModel {
|
|
String title;
|
|
int id;
|
|
bool isSelected;
|
|
|
|
FilterListModel({required this.id, required this.isSelected, required this.title});
|
|
}
|
|
|
|
class SelectionModel {
|
|
String selectedOption;
|
|
int selectedId;
|
|
String errorValue;
|
|
String itemPrice;
|
|
|
|
SelectionModel({
|
|
this.selectedOption = "",
|
|
this.errorValue = "",
|
|
this.selectedId = 0,
|
|
this.itemPrice = "",
|
|
});
|
|
}
|
|
|
|
class TimeSlotModel {
|
|
int slotId;
|
|
bool isSelected;
|
|
bool allowAppointment;
|
|
String slot;
|
|
String date;
|
|
|
|
TimeSlotModel({
|
|
this.slot = "",
|
|
this.slotId = 0,
|
|
this.date = "",
|
|
this.isSelected = false,
|
|
this.allowAppointment = false,
|
|
});
|
|
|
|
@override
|
|
String toString() {
|
|
return 'TimeSlotModel{slotId: $slotId, isSelected: $isSelected, slot: $slot, date: $date}';
|
|
}
|
|
}
|