daysInMonth property

int daysInMonth

Implementation

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