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