months property
override
Returns the list of months in this bundle.
Implementation
@override
List<MonthPeriod> get months {
const generator = MonthGenerator();
final months = <MonthPeriod>[];
var last = generator.of(start);
while (last.start.isBefore(end)) {
months.add(last);
last = generator.after(last);
}
return months;
}