dispose method
Must be called when the observer will no longer be used.
Implementation
@mustCallSuper
void dispose() {
WidgetsBinding.instance.removeObserver(this);
_cache.remove(this);
}
Must be called when the observer will no longer be used.
@mustCallSuper
void dispose() {
WidgetsBinding.instance.removeObserver(this);
_cache.remove(this);
}