daysInMonth property

int get daysInMonth

Implementation

int get daysInMonth {
  return DateTime(year, month + 1, 0).day;
}