startOfDay property

DateTime get startOfDay

Returns this DateTime without hour, minute, second, etc. information.

Implementation

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