activate method
Called when this object is reinserted into the tree after having been removed via deactivate.
Implementation
@override
@mustCallSuper
void activate() {
super.activate();
// Subscribe this to be informed about changes to route.
_appState?.subscribe(this);
}