Answer constructor
Answer({
- bool? cold,
- List<
Completion> completions = const [], - List<
Diagnostic> diagnostics = const [], - String? hover,
- String? lang,
- List<
Location> locations = const [], - String? op,
- String? path,
- String? repo,
- String? rev,
- 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 [],
});