private fun yourNameUpdated(name: String) { _uiState.value = uiState.value.copy( yourName = InputWrapper(value = name) ) }
This function save and updated the UIState with the user provided input for UserName