HintResults class
The return value from a hints (code completion) operation.
Constructors
-
HintResults.fromHints(List<
HintResult> results, Position from, Position to) -
HintResults.fromStrings(List<
String> results, Position from, Position to)
Properties
- from → Position
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- results → List
-
The list of code completion results. This list is either a list of
strings or a list of HintResults.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → Position
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOnClose(
Function onShown) → void - Fired when the completion is finished.
-
registerOnPick(
HintsResultsPickCallback onPick) → void - Fired when a completion is picked. Passed the completion value.
-
registerOnSelect(
HintsResultsSelectCallback onSelect) → void - Fired when a completion is selected. Passed the completion value and the DOM node that represents it in the menu.
-
registerOnShown(
Function onShown) → void - Fired when the pop-up is shown.
-
registerOnUpdate(
Function onUpdate) → void -
toProxy(
) → JsObject? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited