lastDayOfWeek property
DateTime
get
lastDayOfWeek
Implementation
DateTime get lastDayOfWeek =>
add(Duration(days: DateTime.daysPerWeek - weekday));
DateTime get lastDayOfWeek =>
add(Duration(days: DateTime.daysPerWeek - weekday));