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.
RegisteredServicesResponse
A DTD response that contains information about all the registered services available on the Dart Tooling Daemon, including services provided by DTD itself as well as services registered by DTD clients.
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.
VmServiceInfo
Information about a VM service connection that is exposed via the DTD.
VmServicesResponse
A DTD response that contains information about a set of VM service connections.

Extensions

ConnectedAppServiceConstants on Never
Constants used by the DTD-hosted connected app service.
ConnectedAppsExtension on DartToolingDaemon
Extension methods on the DartToolingDaemon that call the ConnectedApps service.
CoreDtdServiceConstants on Never
Constants used by the core services provided by DTD.
DtdParameters on Never
Constants used as parameter names across various DTD APIs.
FileSystemService on DartToolingDaemon
FileSystemServiceConstants on Never
Constants used by the DTD-hosted file system service.
UnifiedAnalyticsServiceConstants on Never
Constants used by the DTD-hosted unified analytics service.

Constants

defaultGetProjectRootsDepth → const int
The default value for the depth parameter in the DartToolingDaemon.getProjectRoots API.

Typedefs

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