create New Account
abstract fun createNewAccount( name: String, email: String, password: String, onSuccess: () -> Unit, profilePhotoUri: Uri? = null)
Content copied to clipboard
Used to create a new user account based on the provided name, email,password and optional profilePhotoUri. The onSuccess callback will be called in the event of a successful account creation. In the case of a failure, the uiState's value will be set appropriately.