setWrongCodeid method

void setWrongCodeid(
  1. bool w
)

Assigns the argument w to wrongCodeId and calls notifyListeners

Implementation

void setWrongCodeid(bool w){
  wrongCodeId = w;
  notifyListeners();
}