getDates method

List<DateTime> getDates()

Implementation

List<DateTime> getDates() {
  List<DateTime> dates = <DateTime>[];
  for (var i = 0; i < allDates.length; i += getInterval()) {
    var date = allDates[i];
    print(date);
  }
  return dates;
}