@@ -703,7 +703,7 @@ class _WidgetInspectorService = Object with WidgetInspectorService;
703
703
/// operation making it easier to avoid memory leaks.
704
704
///
705
705
/// 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
707
707
/// form `WidgetInspectorService.instance.methodName(arg1, arg2, ...)` . If you
708
708
/// make changes to any instance method of this class you need to verify that
709
709
/// the [Flutter IntelliJ Plugin] (https://github.com/flutter/flutter-intellij/blob/master/README.md)
@@ -712,7 +712,7 @@ class _WidgetInspectorService = Object with WidgetInspectorService;
712
712
/// All methods returning String values return JSON.
713
713
mixin WidgetInspectorService {
714
714
/// 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.
716
716
final List <String ?> _serializeRing = List <String ?>.filled (20 , null );
717
717
int _serializeRingIndex = 0 ;
718
718
@@ -739,7 +739,7 @@ mixin WidgetInspectorService {
739
739
/// when the inspection target changes on device.
740
740
InspectorSelectionChangedCallback ? selectionChangedCallback;
741
741
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
743
743
/// class needs to manually manage groups of objects that should be kept
744
744
/// alive.
745
745
final Map <String , Set <_InspectorReferenceData >> _groups = < String , Set <_InspectorReferenceData >> {};
@@ -1690,7 +1690,7 @@ mixin WidgetInspectorService {
1690
1690
1691
1691
/// Wrapper around `json.encode` that uses a ring of cached values to prevent
1692
1692
/// 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
1694
1694
/// separate observatory protocol command has to be used to retrieve its full
1695
1695
/// contents.
1696
1696
//
0 commit comments