|
|
|
|
@ -86,7 +86,7 @@ abstract class BookAppointmentsRepo {
|
|
|
|
|
{required int projectID, required int clinicID, required int patientID, Function(dynamic)? onSuccess, Function(String)? onError});
|
|
|
|
|
|
|
|
|
|
Future<Either<Failure, GenericApiModel<List<DoctorsListResponseModel>>>> getDentalChiefComplaintDoctorsList(int projectID, int chiefComplaintID,
|
|
|
|
|
{Function(dynamic)? onSuccess, Function(String)? onError});
|
|
|
|
|
{bool isGetNearestAppointments, Function(dynamic)? onSuccess, Function(String)? onError});
|
|
|
|
|
|
|
|
|
|
Future<Either<Failure, GenericApiModel<List<LaserBodyPart>>>> getLaserClinics(int laserCategoryID, int projectID, int languageID, {Function(dynamic)? onSuccess, Function(String)? onError});
|
|
|
|
|
|
|
|
|
|
@ -877,12 +877,13 @@ class BookAppointmentsRepoImp implements BookAppointmentsRepo {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Future<Either<Failure, GenericApiModel<List<DoctorsListResponseModel>>>> getDentalChiefComplaintDoctorsList(int projectID, int chiefComplaintID,
|
|
|
|
|
{Function(dynamic)? onSuccess, Function(String)? onError}) async {
|
|
|
|
|
{bool isGetNearestAppointments = false, Function(dynamic)? onSuccess, Function(String)? onError}) async {
|
|
|
|
|
Map<String, dynamic> mapDevice = {
|
|
|
|
|
"ProjectID": projectID,
|
|
|
|
|
"ChiefComplaintID": chiefComplaintID,
|
|
|
|
|
"isDentalAllowedBackend": true,
|
|
|
|
|
"IsPublicRequest": true,
|
|
|
|
|
"IsGetNearAppointment": isGetNearestAppointments
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|