onlyTime method
Create a new date with only time value (0 for year, month and day).
Implementation
DateTime onlyTime() => _copyWith(year: 0, month: 0, day: 0);
Create a new date with only time value (0 for year, month and day).
DateTime onlyTime() => _copyWith(year: 0, month: 0, day: 0);