diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md index 56f3bd73cbc..89e580bdad1 100644 --- a/runtime/vm/service/service.md +++ b/runtime/vm/service/service.md @@ -643,7 +643,8 @@ See [FlagList](#flaglist). ### getInstances ``` -InstanceSet getInstances(string objectId, +InstanceSet getInstances(string isolateId, + string objectId, int limit) ``` @@ -806,8 +807,8 @@ See [VM](#vm). ### getVMTimeline ``` -Timeline getVMTimeline(int timeOriginMicros, - int timeExtentMicros) +Timeline getVMTimeline(int timeOriginMicros [optional], + int timeExtentMicros [optional]) ``` The _getVMTimeline_ RPC is used to retrieve an object which contains VM timeline @@ -2318,7 +2319,7 @@ class InstanceSet extends Response { int totalCount; // An array of instances of the requested type. - @Instance[] instances; + @Object[] instances; } ``` diff --git a/runtime/vm/service/service_dev.md b/runtime/vm/service/service_dev.md index 4985682fb51..ccf44c17016 100644 --- a/runtime/vm/service/service_dev.md +++ b/runtime/vm/service/service_dev.md @@ -643,7 +643,8 @@ See [FlagList](#flaglist). ### getInstances ``` -InstanceSet getInstances(string objectId, +InstanceSet getInstances(string isolateId, + string objectId, int limit) ``` @@ -806,8 +807,8 @@ See [VM](#vm). ### getVMTimeline ``` -Timeline getVMTimeline(int timeOriginMicros, - int timeExtentMicros) +Timeline getVMTimeline(int timeOriginMicros [optional], + int timeExtentMicros [optional]) ``` The _getVMTimeline_ RPC is used to retrieve an object which contains VM timeline @@ -2318,7 +2319,7 @@ class InstanceSet extends Response { int totalCount; // An array of instances of the requested type. - @Instance[] instances; + @Object[] instances; } ```