setTempNickname method

void setTempNickname(
  1. String n
)

Assigns the argument n to the Profile.nickname of tempUser and calls notifyListeners

Implementation

void setTempNickname(String n){
  tempUser.nickname = n;
  notifyListeners();
}