startOfDay property

DateTime startOfDay

Returns a DateTime representing the start of the day for this DateTime.

Implementation

DateTime get startOfDay => DateTime(year, month, day);