updateName

fun ProfileScreenViewModel.updateName(newName: String, resetStateTimeOut: Long = defaultResetStateTimeOut)

A utility method that is used to update the name of the currently logged-in user with the newName. This extension method is a shorthand for the ProfileScreenViewModel.updateAttributeForCurrentUser. It removes the need for specifying the 'updateAttribute' param of the ProfileScreenViewModel.updateAttributeForCurrentUser method.