endOfDay property

DateTime get endOfDay

The last moment of this day (23:59:59.999). date.endOfDay

Implementation

DateTime get endOfDay => copyWith(hour: 23, minute: 59, second: 59, millisecond: 999, microsecond: 0);