|
|
|
|
@ -72,7 +72,7 @@ abstract class MyAppointmentsRepo {
|
|
|
|
|
|
|
|
|
|
Future<Either<Failure, GenericApiModel<List<RateAppointmentRespModel>>>> getLastRatingAppointment();
|
|
|
|
|
|
|
|
|
|
Future<Either<Failure, GenericApiModel<AppointmentDetails>>> getAppointmentDetails(int appointmentID, int projectID);
|
|
|
|
|
Future<Either<Failure, GenericApiModel<AppointmentDetails>>> getAppointmentDetails(int appointmentID, int projectID, int clinicID);
|
|
|
|
|
|
|
|
|
|
Future<Either<Failure, GenericApiModel<void>>> sendAppointmentRate(int rate, int appointmentNo, int projectID, int doctorID, int clinicID, String note);
|
|
|
|
|
|
|
|
|
|
@ -915,10 +915,11 @@ class MyAppointmentsRepoImp implements MyAppointmentsRepo {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Future<Either<Failure, GenericApiModel<AppointmentDetails>>> getAppointmentDetails(int appointmentID, int projectID) async {
|
|
|
|
|
Future<Either<Failure, GenericApiModel<AppointmentDetails>>> getAppointmentDetails(int appointmentID, int projectID, int clinicID) async {
|
|
|
|
|
Map<String, dynamic> mapDevice = {
|
|
|
|
|
"AppointmentNumber": appointmentID,
|
|
|
|
|
"ProjectID": projectID,
|
|
|
|
|
"ClinicID":clinicID
|
|
|
|
|
};
|
|
|
|
|
try {
|
|
|
|
|
GenericApiModel<AppointmentDetails>? apiResponse;
|
|
|
|
|
|