nTotalMistakes property
int
nTotalMistakes
Total number of mistakes.
Implementation
int get nTotalMistakes =>
mistakes.fold(0, (previous, current) => previous + current);
Total number of mistakes.
int get nTotalMistakes =>
mistakes.fold(0, (previous, current) => previous + current);