minutes property

List<MinutePeriod> minutes

Returns the list of minutes that are contained in this hour.

Implementation

List<MinutePeriod> get minutes {
  const generator = MinuteGenerator();
  final minutes = <MinutePeriod>[];
  var last = generator.of(start);
  while (last.start.isBefore(end)) {
    minutes.add(last);
    last = generator.after(last);
  }
  return minutes;
}