ScoreDto typedef

ScoreDto = ({String? courseCode, String? number, int? score, ScoreStatus? status})

A single course score entry from the academic performance page.

Implementation

typedef ScoreDto = ({
  /// Course offering number (joins with ScheduleDto.number).
  ///
  /// Null for credit transfers/waivers from other institutions.
  String? number,

  /// Course catalog code (joins with Courses.code).
  ///
  /// Usually present; may be null for rows without a course code.
  /// When present, serves as fallback identifier when [number] is null.
  String? courseCode,

  /// Numeric grade (null when [status] is set).
  int? score,

  /// Special score status (null when [score] is numeric).
  ScoreStatus? status,
});