Profile
Screen
View
Model
The ProfileScreenViewModel class is the support class used by the ProfileScreen to execute the requests or the action to customize the profile data of the user
Author
N7ghtm4r3 - Tecknobit
Parameters
: the host to launch the snackbar messages
See also
Properties
newEmail -> the value of the new email to set
newEmailError -> whether the newEmail field is not valid
newPassword -> the value of the new password to set
newPasswordError -> whether the newPassword field is not valid
Functions
Function to change the current activeLocalSession
Function to execute the email change
Function to execute the language change
Function to execute the password change
Function to execute the profile pic change
Function to execute the account deletion