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