replacing method
For backward compatibility
Implementation
TimeOfDay replacing({
int? hour,
int? minute,
int? second,
}) {
return TimeOfDay(
hour: hour ?? this.hour,
minute: minute ?? this.minute,
second: second ?? this.second,
);
}