endOfDay property

DateTime get endOfDay

Returns the end of the day for the DateTime

Implementation

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