minutes method
Generates an iterable of DateTime objects representing each minute within the date range.
Implementation
Iterable<DateTime> minutes() sync* {
var i = startDate;
while (i.isBefore(endDate)) {
yield i;
i = i.add(const Duration(minutes: 1));
}
}