endOfDay property

date get endOfDay

Returns the end of the day.

Implementation

date get endOfDay => date(year, month, day, 23, 59, 59, 999);