ChangePasswordUiState
constructor(currentPassword: String, isCurrentPasswordError: Boolean, newPassword: String, isNewPasswordError: Boolean, submitEnabled: Boolean, loading: Boolean)
Parameters
currentPassword
the current password entered by the user.
isCurrentPasswordError
whether or not the current password entered by the user is not valid.
newPassword
the new password entered by the user.
isNewPasswordError
whether or not the new password entered by the user is not valid.
submitEnabled
whether or not the submit button is enabled.
loading
whether or not there is an ongoing operation.