resetMistakesCounter method
Sets to 0 all the elements of mistakesCounter and totalMistakes and calls notifyListeners
Implementation
void resetMistakesCounter(){
mistakesCounter = List.filled(3, 0);
totalMistakes = 0;
notifyListeners();
}
Sets to 0 all the elements of mistakesCounter and totalMistakes and calls notifyListeners
void resetMistakesCounter(){
mistakesCounter = List.filled(3, 0);
totalMistakes = 0;
notifyListeners();
}