getMaincatList method

Future<List<MainCatModel>> getMaincatList(
  1. dynamic params
)

Implementation

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