init method
Implementation
Future<void> init(List<IsolateRef> isolates) async {
// NOTE MODIFIED - we do not have `preferences.vmDeveloperModeEnabled`
// // Re-initialize isolates when VM developer mode is enabled/disabled to
// // display/hide system isolates.
// addAutoDisposeListener(preferences.vmDeveloperModeEnabled, () async {
// final vmDeveloperModeEnabled = preferences.vmDeveloperModeEnabled.value;
// final vm = await serviceManager.service!.getVM();
// final isolates = [
// ...vm.isolates ?? <IsolateRef>[],
// if (vmDeveloperModeEnabled) ...vm.systemIsolates ?? <IsolateRef>[],
// ];
// if (selectedIsolate.value!.isSystemIsolate! && !vmDeveloperModeEnabled) {
// selectIsolate(_isolates.value.first);
// }
// await _initIsolates(isolates);
// });
await _initIsolates(isolates);
}