getDates method
dynamic
getDates()
Implementation
getDates() {
allDates.map((date) {
for (var i = 0; i < 24; i += getInterval()) {
date = DateTime(date.year, date.month, date.day, i);
print('$date');
}
}).toList();
}