package:analysis_server_client
is a client wrapper over the Analysis Server.
This package has been discontinued and will not receive further updates.
People who need similar functionality could:
dart language-server --protocol=lsp
)We welcome feedback about this at #50262; that would also be a good place to discuss alternatives.
Instances of Server manage a connection to an analysis server process, and facilitate communication to and from the server.
The Protocol library provides constants and classes to build requests for the server and decode responses and notifications from the server.
The example uses the Server to launch the analysis server, analyze all *.dart files in the specified directory, display the results, and shutdown the analysis server.
For more about the analysis server, see the Analysis Server page.