40defeeb44
This makes VM Service responses involving records comply with https://docs.google.com/document/d/1gq7ZlH9My2qIrlFY7-pceNmabOPLLeLVMt6Z44KE7_8. service.md and package:vm_service are not yet updated by this CL. They will be updated in a future CL that makes as much of the service comply with the above proposal as possible without introducing breaking changes. e.g., the future CL will make it so that both the `decl` and `name` properties will be populated for fields of `PlainInstance`s. TEST=CI Issue: https://github.com/dart-lang/sdk/issues/49724 Change-Id: Iff798e391d28f137a000352c15e180f32e3d3969 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/264782 Commit-Queue: Derek Xu <derekx@google.com> Reviewed-by: Anna Gringauze <annagrin@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
A library to access the VM Service Protocol.
Usage
See the example for a simple use of the library's API.
The VM Service Protocol spec can be found at github.com/dart-lang/sdk/runtime/vm/service/service.md.
Features and bugs
Please file feature requests and bugs at the issue tracker.