CourseGrade constructor Null safety

const CourseGrade(
  1. {required Course course,
  2. List<double> partials = const [],
  3. double finalExam = 0,
  4. double semestralGrade = 0}
)

Implementation

const CourseGrade({
  required this.course,
  this.partials = const [],
  this.finalExam = 0,
  this.semestralGrade = 0,
});