copyWith method
Copy constructor
Implementation
ContactEvent copyWith({
int? month,
int? day,
int? year,
EventLabel? label,
String? customLabel,
}) {
return ContactEvent(
month: month ?? this.month,
day: day ?? this.day,
year: year ?? this.year,
label: label ?? this.label,
customLabel: customLabel ?? this.customLabel,
);
}