updateBadApple method
- bool input
Updates the value of badApple.
Implementation
void updateBadApple(bool input) { // ignore: avoid_positional_boolean_parameters
badApple = input;
notifyListeners();
}
Updates the value of badApple.
void updateBadApple(bool input) { // ignore: avoid_positional_boolean_parameters
badApple = input;
notifyListeners();
}