mergeStart method

DateTime mergeStart({
  1. TimeOfDay? time = const TimeOfDay(hour: 0, minute: 0),
  2. int second = 0,
  3. int millisecond = 0,
  4. int microsecond = 0,
})

Implementation

DateTime mergeStart({
  TimeOfDay? time = const TimeOfDay(hour: 0, minute: 0),
  int second = 0,
  int millisecond = 0,
  int microsecond = 0,
}) => copyWith(
  hour: time?.hour ?? 0,
  minute: time?.minute ?? 0,
  second: second,
  millisecond: millisecond,
  microsecond: microsecond,
);