startOfDay property
DateTime
get
startOfDay
Midnight at the start of this day. date.startOfDay
Implementation
DateTime get startOfDay => copyWith(hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0);