getSubKlineList method

void getSubKlineList(
  1. int from,
  2. int to
)

Implementation

void getSubKlineList(int from, int to) {
  fromIndex = from;
  toIndex = to;
  List<Market> list = this.klineTotalList;
  klineCurrentList.clear();
  klineCurrentList = list.sublist(from, to);
  _calculateCurrentKlineDataLimit();
  _currentKlineListSink.add(klineCurrentList);
}