TeacherDto typedef

TeacherDto = ({ReferenceDto? department, String? nameEn, String? nameZh, List<OfficeHourDto>? officeHours, String? officeHoursNote, double? teachingHours, String? title})

Teacher profile information from the teacher schedule page.

Implementation

typedef TeacherDto = ({
  /// Reference to the teacher's department.
  ReferenceDto? department,

  /// Academic title (e.g., "專任副教授", "兼任講師").
  String? title,

  /// Teacher's name in Traditional Chinese.
  String? nameZh,

  /// Teacher's name in English (from office hours page).
  String? nameEn,

  /// Total teaching hours for the semester.
  double? teachingHours,

  /// Office hours time slots.
  List<OfficeHourDto>? officeHours,

  /// Additional notes about office hours (e.g., appointment requirements).
  String? officeHoursNote,
});