daysInMonth property

List<DateTime> get daysInMonth

Returns a list of days in the given month.

Implementation

List<DateTime> get daysInMonth {
  var first = firstDayOfMonth;
  var last = lastDayOfMonth;
  return daysInRange(first, last.add(Duration(days: 1))).toList();
}