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. required bool inCourseTable,
  16. int? enrolled,
  17. int? withdrawn,
  18. DateTime? studentRosterFetchedAt,
  19. DateTime? materialsFetchedAt,
})

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,
  required this.inCourseTable,
  this.enrolled,
  this.withdrawn,
  this.studentRosterFetchedAt,
  this.materialsFetchedAt,
});