isLastDayOfMonth method

bool isLastDayOfMonth()

Checks if this DateTime is the last day of the month.

Implementation

bool isLastDayOfMonth() {
  final daysInMonth = getDaysInMonth();
  return day == daysInMonth;
}