SuggestionBuilder class abstract
An object used to build code completion suggestions for Dart code.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forElement(
Element element, {String? completion, CompletionSuggestionKind kind = CompletionSuggestionKind.INVOCATION, int relevance = DART_RELEVANCE_DEFAULT}) → CompletionSuggestion? -
Return a suggestion based on the given
element
, ornull
if a suggestion is not appropriate for the given element. -
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