|
|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import 'package:diplomaticquarterapp/config/config.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/model/contactus/get_patientI_cprojects.dart';
|
|
|
|
|
|
|
|
|
|
import '../base_service.dart';
|
|
|
|
|
@ -12,6 +13,9 @@ class LiveChatService extends BaseService {
|
|
|
|
|
Future getAllLiveChatOrders() async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
body['List_PatientICProjects'] = false;
|
|
|
|
|
body['Latitude'] = await this.sharedPref.getDouble(USER_LAT);
|
|
|
|
|
body['Longitude'] = await this.sharedPref.getDouble(USER_LONG);
|
|
|
|
|
|
|
|
|
|
await baseAppClient.post(GET_LIVECHAT_REQUEST,
|
|
|
|
|
onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
LivechatModelList.clear();
|
|
|
|
|
|