startOfDay method

DateTime startOfDay()

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,
    );