countJudgments method
Count all the judgments received by the proposal, across all grades.
Implementation
int countJudgments() {
return gradesTallies
.reduce((total, gradeJudgments) => total + gradeJudgments);
}
Count all the judgments received by the proposal, across all grades.
int countJudgments() {
return gradesTallies
.reduce((total, gradeJudgments) => total + gradeJudgments);
}