endOfWeek property

DateTime endOfWeek

Return the end of the week for this date. The result will be in the local timezone.

Implementation

DateTime get endOfWeek => nextWeek.startOfWeek.subMicroseconds(1);