vmServiceOpened method
void
vmServiceOpened(
- VmService service
Implementation
void vmServiceOpened(VmService service) {
_selectedIsolate.value = null;
cancelStreamSubscriptions();
_service = service;
autoDisposeStreamSubscription(
service.onIsolateEvent.listen(_handleIsolateEvent),
);
autoDisposeStreamSubscription(
service.onDebugEvent.listen(_handleDebugEvent),
);
// We don't yet known the main isolate.
_mainIsolate.value = null;
}