LspSocketConfig constructor

LspSocketConfig({
  1. required String filePath,
  2. required String workspacePath,
  3. required String languageId,
  4. required String serverUrl,
  5. bool disableWarning = false,
  6. bool disableError = false,
})

Implementation

LspSocketConfig({
  required super.filePath,
  required super.workspacePath,
  required super.languageId,
  required this.serverUrl,
  super.disableWarning,
  super.disableError,
}) : _channel = WebSocketChannel.connect(Uri.parse(serverUrl));