months property

Map<MONTH, Month> months

Returns the months of the year

Implementation

Map<MONTH, Month> get months {
  final list =
      List.generate(12, (index) => Month(year: year).addMonths(index));
  return {for (var month in list) month.getMONTH: month};
}