onDispose property
void Function()?
onDispose
final
The callback that is called when the ViewModel is disposed
Implementation
final void Function()? onDispose;
The callback that is called when the ViewModel is disposed
final void Function()? onDispose;