copyWith method
Implementation
OpeningHours copyWith({
List<List<WeekTimeInterval>>? weekOpeningHours,
bool? isOpen24x7
}) {
return OpeningHours(
weekOpeningHours: weekOpeningHours ?? this.weekOpeningHours,
isOpen24x7: isOpen24x7 ?? this.isOpen24x7
);
}