getAssists method

Future<AssistsResult> getAssists(
  1. String? file,
  2. int? offset,
  3. int? length
)

Return the set of assists that are available at the given location. An assist is distinguished from a refactoring primarily by the fact that it affects a single file and does not require user input in order to be performed.

Implementation

Future<AssistsResult> getAssists(String? file, int? offset, int? length) {
  final Map m = {'file': file, 'offset': offset, 'length': length};
  return _call('edit.getAssists', m).then(AssistsResult.parse);
}