mergeEnd method

DateTime mergeEnd({
  1. TimeOfDay time = const TimeOfDay(hour: 23, minute: 59),
  2. int second = 59,
  3. int millisecond = 999,
  4. int microsecond = 0,
})

Implementation

DateTime mergeEnd({
  TimeOfDay time = const TimeOfDay(hour: 23, minute: 59),
  int second = 59,
  int millisecond = 999,
  int microsecond = 0,
}) =>
    copyWith(
      hour: time.hour,
      minute: time.minute,
      second: second,
      millisecond: millisecond,
      microsecond: microsecond,
    );