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