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({
  final TimeOfDay? time = const TimeOfDay(hour: 23, minute: 59),
  final int second = 59,
  final int millisecond = 999,
  final int microsecond = 0,
}) => copyWith(
  hour: time?.hour ?? 0,
  minute: time?.minute ?? 0,
  second: second,
  millisecond: millisecond,
  microsecond: microsecond,
);