isFirstDayOfWeek method

bool isFirstDayOfWeek()

Checks if this DateTime is the first day of the week (Monday).

Implementation

bool isFirstDayOfWeek() {
  return weekday == DateTime.monday;
}