suggestions property

List<CompletionSuggestion>? suggestions
final

The completion suggestions. In contrast to usual completion request, suggestions for private elements also will be provided.

If there are sub-expressions that can have different runtime types, and are considered to be safe to evaluate at runtime (e.g. getters), so using their actual runtime types can improve completion results, the server omits this field in the response, and instead will return the "expressions" field.

Implementation

final List<CompletionSuggestion>? suggestions;