copyWith method
Creates a copy of this Time instance but with the given fields updated.
Implementation
Time copyWith({
int? year,
int? month,
int? day,
int? hour,
int? minute,
int? second,
int? millisecond,
int? microsecond,
}) =>
Time(_dateTime.copyWith(
year: year,
month: month,
day: day,
hour: hour,
minute: minute,
second: second,
millisecond: millisecond,
microsecond: microsecond,
));