OnViewModelEndCubit<V> typedef

OnViewModelEndCubit<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 OnViewModelEndCubit<V> = void Function(V viewModel);