finalWeight property Null safety
Percentage of the semester grade worth the final exam.
Implementation
double get finalWeight {
if (partials.length == 4) return 0.2;
if (partials.length == 2) return 0.3;
return 1;
}
Percentage of the semester grade worth the final exam.
double get finalWeight {
if (partials.length == 4) return 0.2;
if (partials.length == 2) return 0.3;
return 1;
}