onDispose method
Fires when the ViewModel is disposed
Useful when working with a form on the view to dispose the form.
Implementation
void onDispose(T viewModel) {}
Fires when the ViewModel is disposed
Useful when working with a form on the view to dispose the form.
void onDispose(T viewModel) {}