dispose method
void
dispose()
override
Called when this object is removed
Implementation
void dispose() {
_cleanupCallback = null;
Reactter.off(
context,
Lifecycle.didMount,
_runCallbackAndWatchDependencies,
);
Reactter.off(
context,
Lifecycle.willUnmount,
_runCleanupAndUnwatchDependencies,
);
super.dispose();
}