toMidnight property

DateTime toMidnight

Returns date at 00:00:00

Implementation

DateTime get toMidnight {
  return DateTime(year, month, day);
}