CompletionSuggestion constructor

CompletionSuggestion(
  1. CompletionSuggestionKind kind,
  2. int relevance,
  3. String completion,
  4. int selectionOffset,
  5. int selectionLength,
  6. bool isDeprecated,
  7. bool isPotential, {
  8. String? displayText,
  9. int? replacementOffset,
  10. int? replacementLength,
  11. String? docSummary,
  12. String? docComplete,
  13. String? declaringType,
  14. String? defaultArgumentListString,
  15. List<int>? defaultArgumentListTextRanges,
  16. Element? element,
  17. String? returnType,
  18. List<String>? parameterNames,
  19. List<String>? parameterTypes,
  20. int? requiredParameterCount,
  21. bool? hasNamedParameters,
  22. String? parameterName,
  23. String? parameterType,
  24. String? libraryUri,
  25. 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});