dispose method
Clean up resources before the app is finally terminated.
Implementation
@override
@mustCallSuper
void dispose() {
_app = null;
// Clear any listeners
_navigationListeners.clear();
super.dispose();
}
Clean up resources before the app is finally terminated.
@override
@mustCallSuper
void dispose() {
_app = null;
// Clear any listeners
_navigationListeners.clear();
super.dispose();
}