startOfWorkWeek property

int startOfWorkWeek

The WKST rule part specifies the day on which the workweek starts, defaults to DateTime.monday.

Valid values are MO, TU, WE, TH, FR, SA, and SU. This is significant when a WEEKLY "RRULE" has an interval greater than 1, and a BYDAY rule part is specified. This is also significant when in a YEARLY "RRULE" when a BYWEEKNO rule part is specified. The default value is MO.

Implementation

int get startOfWorkWeek => _startOfWorkWeek ?? DateTime.monday;