setFlag method
- bool f
Assigns the argument f to keyFlag and calls notifyListeners
Implementation
void setFlag(bool f){
keyFlag = f;
notifyListeners();
}
Assigns the argument f to keyFlag and calls notifyListeners
void setFlag(bool f){
keyFlag = f;
notifyListeners();
}