getNoOfDaysInMonth function

int getNoOfDaysInMonth({
  1. required int year,
  2. required int month,
})

Get the number of days in a year and month

Implementation

int getNoOfDaysInMonth({required int year, required int month}) =>
    getLastDayOfMonth(year: year, month: month);