endOfDay property

DateTime get endOfDay

Returns the end of Current date

Implementation

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