CompletionContext class
Contains additional information about the context in which {@link CompletionItemProvider.provideCompletionItemscompletion provider} is triggered.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- CompletionContext({CompletionTriggerKind? triggerKind, String? triggerCharacter})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- triggerCharacter → String?
-
Available on CompletionContext, provided by the CompletionContext$Typings extension
Character that triggered the completion item provider.no setter - triggerKind → CompletionTriggerKind
-
Available on CompletionContext, provided by the CompletionContext$Typings extension
How the completion was triggered.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited