firstDayOfWeek property
DateTime
get
firstDayOfWeek
Returns the first day of the current week.
Implementation
DateTime get firstDayOfWeek =>
subtract(Duration(days: weekday - 1)).startOfDay;
Returns the first day of the current week.
DateTime get firstDayOfWeek =>
subtract(Duration(days: weekday - 1)).startOfDay;