beginOfDay property

date get beginOfDay

Returns the beginning of the day.

Implementation

date get beginOfDay => date(year, month, day);