onDispose method
void
onDispose(
- void cb()
called when the notifier linked to this reference is destroyed
Implementation
void onDispose(void Function() cb) {
_disposableCallback = cb;
}
called when the notifier linked to this reference is destroyed
void onDispose(void Function() cb) {
_disposableCallback = cb;
}