toProfile
Extension function to convert UserDataPreferences to Profile.
Return
A Profile object with data from UserDataPreferences.
Extension function to convert UserDataPreferences to Profile.
A Profile object with data from UserDataPreferences.