CockpitLspRequest constructor

const CockpitLspRequest({
  1. required String workspaceRoot,
  2. required CockpitLspCommand command,
  3. String? path,
  4. int? line,
  5. int? column,
  6. String? query,
  7. List<String> allowedRoots = const <String>[],
  8. int maxResults = 20,
  9. int maxChars = 1600,
  10. Duration timeout = const Duration(seconds: 20),
})

Implementation

const CockpitLspRequest({
  required this.workspaceRoot,
  required this.command,
  this.path,
  this.line,
  this.column,
  this.query,
  this.allowedRoots = const <String>[],
  this.maxResults = 20,
  this.maxChars = 1600,
  this.timeout = const Duration(seconds: 20),
});