File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -643,8 +643,9 @@ abstract class VmServiceInterface {
643
643
644
644
/// The `getInstancesAsList` RPC is used to retrieve a set of instances which
645
645
/// are of a specific class. This RPC returns an `InstanceRef` corresponding
646
- /// to a Dart `List` that contains the requested instances. This is what
647
- /// distinguishes this RPC from `getInstances` , which returns an
646
+ /// to a Dart `List<dynamic>` that contains the requested instances. This
647
+ /// `List` is not growable, but it is otherwise mutable. The response type is
648
+ /// what distinguishes this RPC from `getInstances` , which returns an
648
649
/// `InstanceSet` .
649
650
///
650
651
/// The order of the instances is undefined (i.e., not related to allocation
Original file line number Diff line number Diff line change @@ -882,9 +882,10 @@ See [InstanceSet](#instanceset).
882
882
```
883
883
884
884
The _ getInstancesAsList_ RPC is used to retrieve a set of instances which are of
885
- a specific class. This RPC returns an ` @Instance ` corresponding to a Dart ` List `
886
- that contains the requested instances. This is what distinguishes this RPC from
887
- ` getInstances ` , which returns an ` InstanceSet ` .
885
+ a specific class. This RPC returns an ` @Instance ` corresponding to a Dart
886
+ ` List<dynamic> ` that contains the requested instances. This ` List ` is not
887
+ growable, but it is otherwise mutable. The response type is what distinguishes
888
+ this RPC from ` getInstances ` , which returns an ` InstanceSet ` .
888
889
889
890
The order of the instances is undefined (i.e., not related to allocation order)
890
891
and unstable (i.e., multiple invocations of this method against the same class
You can’t perform that action at this time.
0 commit comments