isLastMondayThisMonth property

bool isLastMondayThisMonth
  • return true the last monday of the month

Implementation

bool get isLastMondayThisMonth =>
    isMonday &&
    month + 1 == DateTime(year, month, day + DateTime.daysPerWeek).month;