|
|
|
|
@ -669,7 +669,7 @@ class BookAppointmentsViewModel extends ChangeNotifier {
|
|
|
|
|
Future<void> getDoctorFreeSlots({bool isBookingForLiveCare = false, Function(dynamic)? onSuccess, Function(String)? onError}) async {
|
|
|
|
|
docFreeSlots.clear();
|
|
|
|
|
DateTime date;
|
|
|
|
|
final DateFormat formatter = DateFormat('HH:mm');
|
|
|
|
|
final DateFormat formatter = DateFormat('HH:mm', "en-US");
|
|
|
|
|
final DateFormat dateFormatter = DateFormat('yyyy-MM-dd');
|
|
|
|
|
Map<DateTime, List> _eventsParsed;
|
|
|
|
|
|
|
|
|
|
@ -721,7 +721,7 @@ class BookAppointmentsViewModel extends ChangeNotifier {
|
|
|
|
|
Future<void> getLiveCareDoctorFreeSlots({bool isBookingForLiveCare = false, Function(dynamic)? onSuccess, Function(String)? onError}) async {
|
|
|
|
|
docFreeSlots.clear();
|
|
|
|
|
DateTime date;
|
|
|
|
|
final DateFormat formatter = DateFormat('HH:mm');
|
|
|
|
|
final DateFormat formatter = DateFormat('HH:mm', "en-US");
|
|
|
|
|
final DateFormat dateFormatter = DateFormat('yyyy-MM-dd');
|
|
|
|
|
Map<DateTime, List> _eventsParsed;
|
|
|
|
|
|
|
|
|
|
|