ISchoolCourseDto typedef

ISchoolCourseDto = ({String courseNumber, String internalId})

Course reference from the iSchool+ course selection sidebar.

Obtained from ISchoolPlusService.getCourseList and required by all other iSchool+ operations. Contains the internal ID needed to select the course server-side.

Implementation

typedef ISchoolCourseDto = ({
  /// Course offering number from the course system (e.g., "352902").
  String courseNumber,

  /// Internal iSchool+ course identifier (e.g., "10099386").
  ///
  /// Used by [ISchoolPlusService] to select the course via `goto_course.php`.
  String internalId,
});