copyWith method

SpecialDay copyWith({
  1. Date? date,
})

Implementation

SpecialDay copyWith({Date? date}) {
  return SpecialDay(date: date ?? this.date);
}