dtd library

Support for communicating with the Dart Tooling Daemon.

Classes

BoolResponse
A DTD response that indicates success and contains a single boolean value.
DartToolingDaemon
A connection to a Dart Tooling Daemon instance.
DTDEvent
A Dart Tooling Daemon stream event.
DTDResponse
Represents the response of an RPC call to the Dart Tooling Daemon.
FileContent
The content of a file from the system where the Dart Tooling Daemon is running.
IDEWorkspaceRoots
The list of roots in the IDE workspace.
RpcErrorCodes
StringListResponse
A DTD response that indicates success and contains a single List of Strings as its value.
StringResponse
A DTD response that indicates success and contains a single String value.
Success
A DTD response that indicates success.
UriList
A list or uris on the system where the Dart Tooling Daemon is running.

Constants

defaultGetProjectRootsDepth → const int
The default value for the depth parameter in the DartToolingDaemon.getProjectRoots API.
kFileSystemServiceName → const String
Service name for the DTD-hosted file system service.
kUnifiedAnalyticsServiceName → const String
Service name for the DTD-hosted unified analytics service.

Typedefs

DTDServiceCallback = Future<Map<String, Object?>> Function(Parameters params)