AssistGenerator class
A generator that will generate an 'edit.getAssists' response.
Clients may not extend, implement or mix-in this class.
Constructors
-
AssistGenerator(List<
AssistContributor> contributors) -
Initialize a newly created assists generator to use the given
contributors
.
Properties
-
contributors
→ List<
AssistContributor> -
The contributors to be used to generate the assists.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateAssistsResponse(
AssistRequest request) → Future< GeneratorResult< EditGetAssistsResult> > -
Create an 'edit.getAssists' response for the location in the file specified
by the given
request
. If any of the contributors throws an exception, also create a non-fatal 'plugin.error' notification. -
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