onDispose property
void Function(T model)?
onDispose
final
Fires when ViewModelBuilder is removed from the widget tree.
Implementation
final void Function(T model)? onDispose;
Fires when ViewModelBuilder is removed from the widget tree.
final void Function(T model)? onDispose;