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
|
3 years ago
|
class FilterListModel {
|
||
|
|
String title;
|
||
|
3 years ago
|
int id;
|
||
|
3 years ago
|
bool isSelected;
|
||
|
|
|
||
|
3 years ago
|
FilterListModel({required this.id, required this.isSelected, required this.title});
|
||
|
3 years ago
|
}
|
||
|
3 years ago
|
|
||
|
|
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;
|
||
|
2 years ago
|
bool allowAppointment;
|
||
|
3 years ago
|
String slot;
|
||
|
2 years ago
|
String date;
|
||
|
3 years ago
|
|
||
|
|
TimeSlotModel({
|
||
|
|
this.slot = "",
|
||
|
|
this.slotId = 0,
|
||
|
2 years ago
|
this.date = "",
|
||
|
3 years ago
|
this.isSelected = false,
|
||
|
2 years ago
|
this.allowAppointment = false,
|
||
|
3 years ago
|
});
|
||
|
2 years ago
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'TimeSlotModel{slotId: $slotId, isSelected: $isSelected, slot: $slot, date: $date}';
|
||
|
|
}
|
||
|
|
}
|