shutdown method

Future<void> shutdown()

Shuts down the LSP server gracefully.

Sends a 'shutdown' request to the LSP server. This should be called before exiting the server.

Implementation

Future<void> shutdown() async {
  await _sendRequest(method: 'shutdown', params: {});
}