copyWithCompanion method

UserSemesterSummaryTutor copyWithCompanion(
  1. UserSemesterSummaryTutorsCompanion data
)

Implementation

UserSemesterSummaryTutor copyWithCompanion(
  UserSemesterSummaryTutorsCompanion data,
) {
  return UserSemesterSummaryTutor(
    summary: data.summary.present ? data.summary.value : this.summary,
    teacherSemester: data.teacherSemester.present
        ? data.teacherSemester.value
        : this.teacherSemester,
  );
}