copyWith method
Implementation
PlexCalendarEvent copyWith({
String? id,
DateTime? start,
String? title,
DateTime? end,
Color? color,
PlexCalendarRecurrence? recurrence,
String? occurrenceOf,
}) {
return PlexCalendarEvent(
id: id ?? this.id,
start: start ?? this.start,
title: title ?? this.title,
end: end ?? this.end,
color: color ?? this.color,
recurrence: recurrence ?? this.recurrence,
occurrenceOf: occurrenceOf ?? this.occurrenceOf,
);
}