disposeScope method
Implementation
void disposeScope({bool removeHandler = true}) {
if (_scopeCommand != null && removeHandler) {
scopeBus!.handlers.removeHandler<T>(paths: _scopeCommand?.paths);
}
_scopeStreamSubscription?.cancel();
_scopeStreamSubscription = null;
_scopeCommand = null;
}