CodeKeywordPrompt class

The keyword autocomplate prompt. such as 'return', 'class', 'new' and so on.

Inheritance

Constructors

CodeKeywordPrompt({required String word})
const

Properties

autocomplete CodeAutocompleteResult
Get the final auto completion content. In most cases it is equal to word, but there are some exceptions. For example, for functions, auto completion of parameters may be required.
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
word String
Content associated with user input.
finalinherited

Methods

match(String input) bool
Check whether the input meets this prompt condition.
override
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.
override