previous property
Weekday
get
previous
Returns the previous day of the week. Wraps around from Monday to Sunday.
Implementation
Weekday get previous => values[(value - 1 + 7 - 1) %
7];
Returns the previous day of the week. Wraps around from Monday to Sunday.
Weekday get previous => values[(value - 1 + 7 - 1) %
7];