getAllData method

List<T> getAllData()

Implementation

List<T> getAllData() {
  List<T> allData = [];
  for (var month in months) {
    allData.addAll(month.data);
  }
  return allData;
}