analysis_server_client 2.0.1 analysis_server_client: ^2.0.1 copied to clipboard
A client wrapper over analysis_server. Instances of the class Server manage a connection to a server process, and facilitate communication to and from the server.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add analysis_server_client
With Flutter:
$ flutter pub add analysis_server_client
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
analysis_server_client: ^2.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:analysis_server_client/handler/connection_handler.dart';
import 'package:analysis_server_client/handler/notification_handler.dart';
import 'package:analysis_server_client/listener/server_listener.dart';
import 'package:analysis_server_client/protocol.dart';
import 'package:analysis_server_client/server.dart';