CompletionSuggestionKind class

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.

Implemented types

Constructors

CompletionSuggestionKind(String name)
factory
CompletionSuggestionKind.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the enumerated value. This should match the name of the static getter which provides access to this enumerated value.
final
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() String
toString() String
A string representation of this object.
override

Operators

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

Constants

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.
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.
IMPORT → const CompletionSuggestionKind
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.
PACKAGE_NAME → const CompletionSuggestionKind
The name of a pub package is being suggested.
PARAMETER → const CompletionSuggestionKind
VALUES → const List<CompletionSuggestionKind>
A list containing all of the enum values that are defined.