|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
import 'package:diplomaticquarterapp/client/base_app_client.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/config/config.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/config/shared_pref_kay.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/core/service/base_service.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/models/Request.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
|
|
|
|
|
|
|
|
|
|
class DoctorsListService {
|
|
|
|
|
class DoctorsListService extends BaseService{
|
|
|
|
|
AppSharedPreferences sharedPref = AppSharedPreferences();
|
|
|
|
|
AppGlobal appGlobal = new AppGlobal();
|
|
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ class DoctorsListService {
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
|
|
|
|
|
await BaseAppClient.post(GET_DOCTORS_LIST_URL,
|
|
|
|
|
await baseAppClient.post(GET_DOCTORS_LIST_URL,
|
|
|
|
|
onSuccess: (response, statusCode) async {
|
|
|
|
|
localRes = response;
|
|
|
|
|
}, onFailure: (String error, int statusCode) {
|
|
|
|
@ -76,7 +76,7 @@ class DoctorsListService {
|
|
|
|
|
|
|
|
|
|
dynamic localRes;
|
|
|
|
|
|
|
|
|
|
await BaseAppClient.post(GET_DOCTORS_LIST_URL,
|
|
|
|
|
await baseAppClient.post(GET_DOCTORS_LIST_URL,
|
|
|
|
|
onSuccess: (response, statusCode) async {
|
|
|
|
|
localRes = response;
|
|
|
|
|
}, onFailure: (String error, int statusCode) {
|
|
|
|
|