A client for the Dart VM service.
Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
VMObjectRef.observatoryUrlgetters that provide access to human-friendly relative Observatory URLs for VM service objects.
Isolate.invokeExtension()would fail if the extension method returned a non-
VMScriptRef, which return a
VMSourceReportfor the target isolate or just the target script respectively.
VMScriptToken.offset is deprecated. This never returned the documented value
in the first place, and in practice determining that value isn't possible from
the information available in the token.
VMScript.getSpan() now return spans with the
correct line, column, and offset numbers.
new VMServiceClient() and
VMServiceClient.withoutJson() now take a
StreamChannel rather than a
Breaking change: the static asynchronous factory
VMServiceClient.connect() is now a synchronous constructor,
VMIsolate.pauseEventnow returns an instance of
VMNoneEventbefore the isolate is runnable.
VMIsolateRef.onExtensionEvent, which emits events posted by VM service
VMIsolateRef.selectExtensionEvents(), which selects events with specific
kinds posted by VM service extensions using
VMIsolateRef.onExtensionAdded, which emits an event when a VM service
extension registers a new RPC.
VMIsolateRef.waitForExtension(), which returns when a given extension
RPC is available.
VMIsolateRef.invokeExtension(), which invokes VM service extension RPCs
VMIsolate.extensionRpcs, which returns the extension RPCs registered in
a given isolate.
VMPauseEvent.timewould always be reported as
Add this to your package's pubspec.yaml file:
dependencies: vm_service_client: "^0.2.4+1"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.2.4+1||Feb 1, 2018|
|0.2.4||Jan 16, 2018|
|0.2.3||Jan 4, 2017|
|0.2.2+4||Nov 18, 2016|
|0.2.2+3||Nov 17, 2016|
|0.2.2+2||Jun 22, 2016|
|0.2.2+1||May 20, 2016|
|0.2.2||May 20, 2016|
|0.2.1||May 3, 2016|
|0.2.0||Apr 14, 2016|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, other
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=2.0.0-dev.20.0 <2.0.0|