firstDayOfWeek property
The first day of the week.
final tuesday = ZonedDateTime('Asia/Singapore', 2023, 4, 11);
final monday = tuesday.firstDayOfWeek; // 2023-04-10T00:00+08:00[Asia/Singapore]
Implementation
@useResult ZonedDateTime get firstDayOfWeek => ZonedDateTime._convert(timezone, _native.firstDayOfWeek);