fetchStockList static method

dynamic fetchStockList({
  1. List<String>? stockList,
})

Call this method to fetch the stock list

Implementation

static fetchStockList({List<String>? stockList}) {
  if (stockList != null) {
    AppValues.stockList = stockList;
  }
  ApiClient().getPrefetchedStory(AppValues.stockList);
}