|
|
|
@ -53,18 +53,18 @@ class LiveCarePatientServices extends BaseService {
|
|
|
|
|
|
|
|
|
|
hasError = true;
|
|
|
|
|
super.error = error;
|
|
|
|
|
}, body: endCallReq.toJson());
|
|
|
|
|
}, body: endCallReq.toJson(),isLiveCare: true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future startCall(StartCallReq startCallReq) async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
await baseAppClient.post(START_LIVECARE_CALL,
|
|
|
|
|
await baseAppClient.post(START_LIVE_CARE_CALL,
|
|
|
|
|
onSuccess: (response, statusCode) async {
|
|
|
|
|
_startCallRes = StartCallRes.fromJson(response);
|
|
|
|
|
}, onFailure: (String error, int statusCode) {
|
|
|
|
|
hasError = true;
|
|
|
|
|
super.error = error;
|
|
|
|
|
}, body: startCallReq.toJson());
|
|
|
|
|
}, body: startCallReq.toJson(),isLiveCare: true);
|
|
|
|
|
}
|
|
|
|
|
Future endCallWithCharge(int vcID) async{
|
|
|
|
|
hasError = false;
|
|
|
|
@ -79,7 +79,7 @@ class LiveCarePatientServices extends BaseService {
|
|
|
|
|
},
|
|
|
|
|
body: {
|
|
|
|
|
"VC_ID": vcID,"generalid":"Cs2020@2016\$2958",
|
|
|
|
|
},
|
|
|
|
|
},isLiveCare: true
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -98,7 +98,7 @@ class LiveCarePatientServices extends BaseService {
|
|
|
|
|
"VC_ID": vcID,
|
|
|
|
|
"IsOutKsa": false,
|
|
|
|
|
"Notes": notes,
|
|
|
|
|
},
|
|
|
|
|
},isLiveCare: true
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|