endOfISOWeek property
DateTime
endOfISOWeek
Return the end of ISO week for this date. The result will be in the local timezone.
Implementation
DateTime get endOfISOWeek => startOfISOWeek.addDays(6).endOfDay;