Answer constructor

Answer({
  1. bool? cold,
  2. List<Completion> completions = const [],
  3. List<Diagnostic> diagnostics = const [],
  4. String? hover,
  5. String? lang,
  6. List<Location> locations = const [],
  7. String? op,
  8. String? path,
  9. String? repo,
  10. String? rev,
  11. List<CodeSymbol> symbols = const [],
})

Returns a new Answer instance.

Implementation

Answer({
  this.cold,
  this.completions = const [],
  this.diagnostics = const [],
  this.hover,
  this.lang,
  this.locations = const [],
  this.op,
  this.path,
  this.repo,
  this.rev,
  this.symbols = const [],
});