anchor.diff:  
     /// Enables or disables Socket profiling for all isolates.
     Future<void> toggleSocketProfiling(bool state) async {
  +    assert(serviceManager.service != null);
  +    if (serviceManager.service == null) return;
  +
       await serviceManager.service.forEachIsolate((isolate) async {
         final socketProfilingAvailable =
             await serviceManager.service.isSocketProfilingAvailable(isolate.id);
  
positive.code:   }
  
    Future<void> _clearSocketProfile() async {
      await serviceManager.service.forEachIsolate((isolate) async {
        final socketProfilingAvailable =
            await serviceManager.service.isSocketProfilingAvailable(isolate.id);
  
negative.code:   }
  
    Future<List<SocketStatistic>> _refreshSockets() async {
      assert(serviceManager.service != null);
      if (serviceManager.service == null) return [];
  
      final sockets = <SocketStatistic>[];
      await serviceManager.service.forEachIsolate((isolate) async {
        final socketProfile =
  