getMaincatList method
Implementation
Future<List<MainCatModel>> getMaincatList(params) async {
NetworkResponse response = await _api.getMaincatList(params);
return response.data ?? [];
}
Future<List<MainCatModel>> getMaincatList(params) async {
NetworkResponse response = await _api.getMaincatList(params);
return response.data ?? [];
}