CompletionSuggestionKind enum

CompletionSuggestionKind

enum { ARGUMENT_LIST IMPORT IDENTIFIER INVOCATION KEYWORD NAMED_ARGUMENT OPTIONAL_ARGUMENT OVERRIDE PARAMETER PACKAGE_NAME }

Clients may not extend, implement or mix-in this class.

Inheritance
Available extensions

Values

ARGUMENT_LIST → const CompletionSuggestionKind

A list of arguments for the method or function that is being invoked. For this suggestion kind, the completion field is a textual representation of the invocation and the parameterNames, parameterTypes, and requiredParameterCount attributes are defined.

IMPORT → const CompletionSuggestionKind
IDENTIFIER → const CompletionSuggestionKind

The element identifier should be inserted at the completion location. For example "someMethod" in import 'myLib.dart' show someMethod;. For suggestions of this kind, the element attribute is defined and the completion field is the element's identifier.

INVOCATION → const CompletionSuggestionKind

The element is being invoked at the completion location. For example, 'someMethod' in x.someMethod();. For suggestions of this kind, the element attribute is defined and the completion field is the element's identifier.

KEYWORD → const CompletionSuggestionKind

A keyword is being suggested. For suggestions of this kind, the completion is the keyword.

NAMED_ARGUMENT → const CompletionSuggestionKind

A named argument for the current call site is being suggested. For suggestions of this kind, the completion is the named argument identifier including a trailing ':' and a space.

OPTIONAL_ARGUMENT → const CompletionSuggestionKind
OVERRIDE → const CompletionSuggestionKind

An overriding implementation of a class member is being suggested.

PARAMETER → const CompletionSuggestionKind
PACKAGE_NAME → const CompletionSuggestionKind

The name of a pub package is being suggested.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ClientUriConverter? clientUriConverter}) String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<CompletionSuggestionKind>
A constant List of the values in this enum, in order of their declaration.