DartDevelopmentService class abstract

An intermediary between a Dart VM service and its clients that offers additional functionality on top of the standard VM service protocol.

See the Dart Development Service Protocol for details.

Properties

authCodesEnabled bool
Set to true if this instance of DartDevelopmentService requires an authentication code to connect.
no setter
devToolsUri Uri
The HTTP Uri of the hosted DevTools instance.
no setter
done Future<void>
Completes when this DartDevelopmentService has shut down.
no setter
hashCode int
The hash code for this object.
no setterinherited
isRunning bool
Set to true if this instance of DartDevelopmentService is accepting requests.
no setter
remoteVmServiceUri Uri
The HTTP Uri of the remote VM service instance that this service will forward requests to.
no setter
remoteVmServiceWsUri Uri
The web socket Uri of the remote VM service instance that this service will forward requests to.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sseUri Uri
The Uri VM service clients can use to communicate with this DartDevelopmentService via server-sent events (SSE).
no setter
uri Uri
The Uri VM service clients can use to communicate with this DartDevelopmentService via HTTP.
no setter
wsUri Uri
The Uri VM service clients can use to communicate with this DartDevelopmentService via a WebSocket.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() Future<void>
Stop accepting requests after gracefully handling existing requests.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

startDartDevelopmentService(Uri remoteVmServiceUri, {Uri serviceUri, bool enableAuthCodes = true, bool ipv6 = false, DevToolsConfiguration devToolsConfiguration = const DevToolsConfiguration(), bool logRequests = false}) Future<DartDevelopmentService>
Creates a DartDevelopmentService instance which will communicate with a VM service. Requires the target VM service to have no other connected clients.

Constants

protocolVersion → const String
The version of the DDS protocol supported by this DartDevelopmentService instance.