getTeacher abstract method

Future<TeacherDto> getTeacher({
  1. required String teacherId,
  2. required SemesterDto semester,
})

Fetches detailed information about a specific teacher.

Returns teacher profile information including department, title, and office hours for the given teacherId in a specific semester.

The teacherId should be a teacher code obtained from the teacher.id field of a ScheduleDto.

Implementation

Future<TeacherDto> getTeacher({
  required String teacherId,
  required SemesterDto semester,
});