copyWithCompanion method
Implementation
CourseOfferingClassesData copyWithCompanion(
CourseOfferingClassesCompanion data,
) {
return CourseOfferingClassesData(
courseOffering: data.courseOffering.present
? data.courseOffering.value
: this.courseOffering,
classEntity: data.classEntity.present
? data.classEntity.value
: this.classEntity,
);
}