isFirstDayOfWeek method
Checks if this DateTime is the first day of the week (Monday).
Implementation
bool isFirstDayOfWeek() {
return weekday == DateTime.monday;
}
Checks if this DateTime is the first day of the week (Monday).
bool isFirstDayOfWeek() {
return weekday == DateTime.monday;
}