copyWith method
Implementation
CurrentStudentResponse copyWith({
String? id,
String? lastName,
String? firstName,
String? middleName,
String? universityEmail,
String? timeAccount,
int? studyStartYear,
enums.StudyLevel? studyLevel,
int? lateDaysBalance,
}) {
return CurrentStudentResponse(
id: id ?? this.id,
lastName: lastName ?? this.lastName,
firstName: firstName ?? this.firstName,
middleName: middleName ?? this.middleName,
universityEmail: universityEmail ?? this.universityEmail,
timeAccount: timeAccount ?? this.timeAccount,
studyStartYear: studyStartYear ?? this.studyStartYear,
studyLevel: studyLevel ?? this.studyLevel,
lateDaysBalance: lateDaysBalance ?? this.lateDaysBalance,
);
}