endOfDay property

DateTime endOfDay

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

Implementation

DateTime get endOfDay => clone.setHour(23, 59, 59, 999, 999);