nTotalMistakes property

int nTotalMistakes

Total number of mistakes.

Implementation

int get nTotalMistakes =>
    mistakes.fold(0, (previous, current) => previous + current);