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 ?? 0,
  minute: time?.minute ?? 0,
  second: second,
  millisecond: millisecond,
  microsecond: microsecond,
);