startOfDay method
Create a new date setting hour, minute and second to 0.
Implementation
DateTime startOfDay() => _copyWith(
hour: 0,
minute: 0,
second: 0,
millisecond: 0,
microsecond: 0,
);
Create a new date setting hour, minute and second to 0.
DateTime startOfDay() => _copyWith(
hour: 0,
minute: 0,
second: 0,
millisecond: 0,
microsecond: 0,
);