onClear

fun onClear()

Clears the WriteopiaStateManager. Use this in the onCleared of your ViewModel.