OnViewModelEnd<V> typedef

OnViewModelEnd<V> = void Function(V viewModel)

🧹 Type definition for a callback that is called when the ViewModel is about to be disposed. Useful for cleaning up resources.

Implementation

typedef OnViewModelEnd<V> = void Function(V viewModel);