CompletionCollector class abstract

An object that CompletionContributors use to record completion suggestions.

Clients may not extend, implement or mix-in this class.

Constructors

CompletionCollector()

Properties

hashCode int
The hash code for this object.
no setterinherited
length int
Set the length of the region of text that should be replaced by the selected completion suggestion.
no getter
offset int
Set the offset of the region of text that should be replaced by the selected completion suggestion.
no getter
offsetIsSet bool
Indicates if the collector's offset has been set (and ultimately the length too).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suggestionsLength int
Returns length of suggestions currently held.
no setter

Methods

addSuggestion(CompletionSuggestion suggestion) → void
Record the given completion suggestion.
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