getSuggestions method

Future<SuggestionsResult> getSuggestions(
  1. String? file,
  2. int? offset
)

Request that completion suggestions for the given offset in the given file be returned.

Implementation

Future<SuggestionsResult> getSuggestions(String? file, int? offset) {
  final Map m = {'file': file, 'offset': offset};
  return _call('completion.getSuggestions', m).then(SuggestionsResult.parse);
}