handleEditGetFixes method

  1. @override
Future<EditGetFixesResult> handleEditGetFixes(
  1. EditGetFixesParams parameters
)
override

Handle an 'edit.getFixes' request.

Throw a RequestFailure if the request could not be handled.

Implementation

@override
Future<EditGetFixesResult> handleEditGetFixes(
    EditGetFixesParams parameters) async {
  var path = parameters.file;
  var request = await getFixesRequest(parameters);
  var generator = FixGenerator(getFixContributors(path));
  var result = await generator.generateFixesResponse(request);
  result.sendNotifications(channel);
  return result.result;
}