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