copyWith method
Implementation
CalendarDate copyWith({int? year, int? month, int? day}) {
return CalendarDate(
year ?? this.year,
month ?? this.month,
day ?? this.day,
);
}
CalendarDate copyWith({int? year, int? month, int? day}) {
return CalendarDate(
year ?? this.year,
month ?? this.month,
day ?? this.day,
);
}