CourseOffering constructor

const CourseOffering({
  1. required int id,
  2. DateTime? fetchedAt,
  3. String? courseCode,
  4. required int semester,
  5. String? number,
  6. required String nameZh,
  7. String? nameEn,
  8. double? credits,
  9. int? hours,
  10. int? phase,
  11. CourseType? courseType,
  12. String? status,
  13. String? language,
  14. String? remarks,
  15. String? syllabusId,
  16. DateTime? syllabusUpdatedAt,
  17. int? enrolled,
  18. int? withdrawn,
  19. String? objective,
  20. String? weeklyPlan,
  21. String? evaluation,
  22. String? textbooks,
  23. String? syllabusRemarks,
})

Implementation

const CourseOffering({
  required this.id,
  this.fetchedAt,
  this.courseCode,
  required this.semester,
  this.number,
  required this.nameZh,
  this.nameEn,
  this.credits,
  this.hours,
  this.phase,
  this.courseType,
  this.status,
  this.language,
  this.remarks,
  this.syllabusId,
  this.syllabusUpdatedAt,
  this.enrolled,
  this.withdrawn,
  this.objective,
  this.weeklyPlan,
  this.evaluation,
  this.textbooks,
  this.syllabusRemarks,
});