firstDayOfWeek property
Returns the first day of the week for the given date.
Implementation
date get firstDayOfWeek => subtract((weekday - 1).days);
Returns the first day of the week for the given date.
date get firstDayOfWeek => subtract((weekday - 1).days);