update
fun update(newYearOfBirth: Int = basicInfo.yearOfBirth, newGender: QA.Gender = basicInfo.gender, newSelfDeclaredHealthy: Boolean = basicInfo.selfDeclaredHealthy)
Use this function to update the basic info of a user. You can call the function with one or parameters, the missing ones will be considered unaltered.
Parameters
new Year Of Birth
new value for the year of birth
new Gender
new value for the gender QA.Gender
new Self Declared Healthy
new value for the self declaration of healthiness