dtd 0.0.3 copy "dtd: ^0.0.3" to clipboard
dtd: ^0.0.3 copied to clipboard

A package for communicating with the Dart Tooling Daemon.

example/dtd_example.dart

// Copyright (c) 2023, the Dart project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:dtd/dtd.dart';

void main() {
  // TODO(@danchevalier) make simple testing services for ide's to know that
  // things are working.

  // TODO(@danchevalier): make this example meaningful
  DartToolingDaemon.connect(Uri.parse('wss://127.0.0.1:12345'));
}
0
likes
140
pub points
99%
popularity

Publisher

verified publishertools.dart.dev

A package for communicating with the Dart Tooling Daemon.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

json_rpc_2, stream_channel, web_socket_channel

More

Packages that depend on dtd