dispose method
Disposes the notifier and cleans up native ChangeNotifier listeners.
Implementation
@mustCallSuper
void dispose() {
assert(_debugAssertNotDisposed());
_updaters.clear();
_notifier?.dispose();
_notifier = null;
}
Disposes the notifier and cleans up native ChangeNotifier listeners.
@mustCallSuper
void dispose() {
assert(_debugAssertNotDisposed());
_updaters.clear();
_notifier?.dispose();
_notifier = null;
}