updateDataList method

void updateDataList(
  1. List<Market> dataList
)

Implementation

void updateDataList(List<Market> dataList) {
  if (dataList.length > 0) {
    klineTotalList.clear();
    klineTotalList =
        KlineDataManager.calculateKlineData(YKChartType.MA, dataList);
    _klineListSink.add(klineTotalList);
  }
}