ExecutionGetSuggestionsResult class

execution.getSuggestions result

{ "suggestions": optional List

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

Constructors

ExecutionGetSuggestionsResult({List<CompletionSuggestion>? suggestions, List<RuntimeCompletionExpression>? expressions})
ExecutionGetSuggestionsResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
ExecutionGetSuggestionsResult.fromResponse(Response response)
factory

Properties

expressions List<RuntimeCompletionExpression>?
The list of sub-expressions in the code for which the server would like to know runtime types to provide better completion suggestions.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suggestions List<CompletionSuggestion>?
The completion suggestions. In contrast to usual completion request, suggestions for private elements also will be provided.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Returns a JSON presentation of the object.
toResponse(String id) Response
Return a response whose result data is this object for the request with the given id.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override