endOfDay property

DateTime get endOfDay

Returns the end of the day (23:59:59.999).

Implementation

DateTime get endOfDay {
  return DateTime(year, month, day, 23, 59, 59, 999);
}