setTempSex method

void setTempSex(
  1. String s
)

Assigns the argument s to the Profile.sex of tempUser and calls notifyListeners

Implementation

void setTempSex(String s){
  tempUser.sex = s;
  notifyListeners();
}