CompletionSuggestion constructor
CompletionSuggestion(
- CompletionSuggestionKind kind,
- int relevance,
- String completion,
- int selectionOffset,
- int selectionLength,
- bool isDeprecated,
- bool isPotential, {
- String? displayText,
- int? replacementOffset,
- int? replacementLength,
- String? docSummary,
- String? docComplete,
- String? declaringType,
- String? defaultArgumentListString,
- List<
int> ? defaultArgumentListTextRanges, - Element? element,
- String? returnType,
- List<
String> ? parameterNames, - List<
String> ? parameterTypes, - int? requiredParameterCount,
- bool? hasNamedParameters,
- String? parameterName,
- String? parameterType,
- String? libraryUri,
- bool? isNotImported,
Implementation
CompletionSuggestion(
this.kind,
this.relevance,
this.completion,
this.selectionOffset,
this.selectionLength,
this.isDeprecated,
this.isPotential, {
this.displayText,
this.replacementOffset,
this.replacementLength,
this.docSummary,
this.docComplete,
this.declaringType,
this.defaultArgumentListString,
this.defaultArgumentListTextRanges,
this.element,
this.returnType,
this.parameterNames,
this.parameterTypes,
this.requiredParameterCount,
this.hasNamedParameters,
this.parameterName,
this.parameterType,
this.libraryUri,
this.isNotImported,
});