copyWith method
Implementation
DateTime copyWith({
int? year,
int? month,
int? day,
int? hour,
int? minute,
int? second,
int? millisecond,
bool? isUtc,
}) {
return InternalDateTimeTimetable.create(
year: year ?? this.year,
month: month ?? this.month,
day: day ?? this.day,
hour: hour ?? this.hour,
minute: minute ?? this.minute,
second: second ?? this.second,
millisecond: millisecond ?? this.millisecond,
isUtc: isUtc ?? this.isUtc,
);
}