startOfDay property

DateTime get startOfDay

Returns the start of Current date

Implementation

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