firstDayOfWeek property

DateTime get firstDayOfWeek

Implementation

DateTime get firstDayOfWeek => subtract(Duration(days: weekday - 1));