EditorCompletionRequest class final
Immutable completion request in grapheme/document coordinates.
Constructors
- EditorCompletionRequest({required String documentText, required int cursorOffset, required int documentVersion, String? trigger})
-
const
Properties
- cursorOffset → int
-
final
- documentText → String
-
final
- documentVersion → int
-
Host-controlled revision used to reject stale asynchronous results.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trigger → String?
-
Trigger character, or null for an explicitly requested completion.
final
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