CourseDto typedef

CourseDto = ({double? credits, String? descriptionEn, String? descriptionZh, int? hours, String? id, String? nameEn, String? nameZh})

Course information from the course catalog.

Implementation

typedef CourseDto = ({
  /// Course's unique identifier code.
  String? id,

  /// Course name in Traditional Chinese.
  String? nameZh,

  /// Course name in English.
  String? nameEn,

  /// Number of credits.
  double? credits,

  /// Number of hours per week.
  int? hours,

  /// Course description in Traditional Chinese.
  String? descriptionZh,

  /// Course description in English.
  String? descriptionEn,
});