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