SuggestionBuilder class

An object used to build code completion suggestions for Dart code.

Constructors

SuggestionBuilder()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

forElement(Element element, { String completion, CompletionSuggestionKind kind: CompletionSuggestionKind.INVOCATION, int relevance: DART_RELEVANCE_DEFAULT }) CompletionSuggestion
Return a suggestion based on the given element, or null if a suggestion is not appropriate for the given element.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited