resetAllData method

void resetAllData([
  1. bool allDataIgnore = false
])

重置所有的数据

Implementation

void resetAllData([bool allDataIgnore = false]) {
  if (!allDataIgnore) {
    allDataMap.clear();
  }
  singleItemSumCostMap.clear();
  lineShowList.clear();
  allLineShowList.clear();
  listViewDataList.clear();

  maxAverage = 0;
}