@@ -702,7 +702,7 @@ class _WidgetInspectorService = Object with WidgetInspectorService;
702702/// operation making it easier to avoid memory leaks.
703703///
704704/// All methods in this class are appropriate to invoke from debugging tools
705- /// using the Observatory service protocol to evaluate Dart expressions of the
705+ /// using the VM service protocol to evaluate Dart expressions of the
706706/// form `WidgetInspectorService.instance.methodName(arg1, arg2, ...)` . If you
707707/// make changes to any instance method of this class you need to verify that
708708/// the [Flutter IntelliJ Plugin] (https://github.com/flutter/flutter-intellij/blob/master/README.md)
@@ -711,7 +711,7 @@ class _WidgetInspectorService = Object with WidgetInspectorService;
711711/// All methods returning String values return JSON.
712712mixin WidgetInspectorService {
713713 /// Ring of cached JSON values to prevent JSON from being garbage
714- /// collected before it can be requested over the Observatory protocol.
714+ /// collected before it can be requested over the VM service protocol.
715715 final List <String ?> _serializeRing = List <String ?>.filled (20 , null );
716716 int _serializeRingIndex = 0 ;
717717
@@ -738,7 +738,7 @@ mixin WidgetInspectorService {
738738 /// when the inspection target changes on device.
739739 InspectorSelectionChangedCallback ? selectionChangedCallback;
740740
741- /// The Observatory protocol does not keep alive object references so this
741+ /// The VM service protocol does not keep alive object references so this
742742 /// class needs to manually manage groups of objects that should be kept
743743 /// alive.
744744 final Map <String , Set <_InspectorReferenceData >> _groups = < String , Set <_InspectorReferenceData >> {};
@@ -1689,7 +1689,7 @@ mixin WidgetInspectorService {
16891689
16901690 /// Wrapper around `json.encode` that uses a ring of cached values to prevent
16911691 /// the Dart garbage collector from collecting objects between when
1692- /// the value is returned over the Observatory protocol and when the
1692+ /// the value is returned over the VM service protocol and when the
16931693 /// separate observatory protocol command has to be used to retrieve its full
16941694 /// contents.
16951695 //
0 commit comments