toggleIsCodeValidated method
Changes isCodeValidated to the opposite value of its current one and calls notifyListeners
Implementation
void toggleIsCodeValidated(){
isCodeValidated = !isCodeValidated;
notifyListeners();
}
Changes isCodeValidated to the opposite value of its current one and calls notifyListeners
void toggleIsCodeValidated(){
isCodeValidated = !isCodeValidated;
notifyListeners();
}