replacing method

  1. @override
Time replacing({
  1. int? hour,
  2. int? minute,
  3. int? second,
})
override

Implementation

@override
Time replacing({int? hour, int? minute, int? second}) {
  return Time.fromTimeOfDay(
    super.replacing(hour: hour, minute: minute),
    second ?? this.second,
  );
}