getServiceCatForIndustry method
Implementation
@override
Future<NetworkResponse> getServiceCatForIndustry(params) async {
return await handleNetworkError(
proccess: () async {
Response response =
await AppClient(token: await appPrefs.getNormalToken()).get(
_MyAppEndpoint.getServiceCatForIndustry(),
queryParameters: params);
return NetworkResponse.fromResponse(response,
converter: (json) =>
(json as List).map((e) => AuthIndustry.fromJson(e)).toList());
},
);
}