|
|
|
|
@ -43,7 +43,6 @@ class LiveCarePatientServices extends BaseService {
|
|
|
|
|
onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
|
|
|
|
|
List<PatiantInformtion> localPatientList= [];
|
|
|
|
|
localPatientList.clear();
|
|
|
|
|
|
|
|
|
|
response['List_PendingPatientList'].forEach((v) {
|
|
|
|
|
localPatientList.add(PatiantInformtion.fromJson(v));
|
|
|
|
|
@ -59,7 +58,6 @@ class LiveCarePatientServices extends BaseService {
|
|
|
|
|
|
|
|
|
|
/// remove items.
|
|
|
|
|
List<PatiantInformtion> removedPatientList= [];
|
|
|
|
|
removedPatientList.clear();
|
|
|
|
|
_patientList.forEach((element) {
|
|
|
|
|
if ((localPatientList.singleWhere((it) => it.patientId == element.patientId,
|
|
|
|
|
orElse: () => null)) == null) {
|
|
|
|
|
|