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

newYearOfBirth

new value for the year of birth

newGender

new value for the gender QA.Gender

newSelfDeclaredHealthy

new value for the self declaration of healthiness