|
|
|
|
@ -125,7 +125,7 @@ class BranchRepoImp implements BranchRepo {
|
|
|
|
|
Future<Branch2> getBranchAndServices() async {
|
|
|
|
|
var postParams = {"serviceProviderID": AppState().getUser.data?.userInfo?.providerId.toString() ?? ""};
|
|
|
|
|
String t = AppState().getUser.data!.accessToken ?? "";
|
|
|
|
|
print("tokeen " + t);
|
|
|
|
|
print("tokeen121 " + t);
|
|
|
|
|
return await injector.get<ApiClient>().getJsonForObject((json) => Branch2.fromJson(json), ApiConsts.BranchesAndServices, queryParameters: postParams, token: t);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|