getPostfixCompletion method

Future<PostfixCompletionResult> getPostfixCompletion(
  1. String? file,
  2. String? key,
  3. int? offset
)

Get the changes required to convert the postfix template at the given location into the template's expanded form.

Implementation

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