EditGetRefactoringParams.fromRequest constructor

EditGetRefactoringParams.fromRequest(
  1. Request request
)

Implementation

factory EditGetRefactoringParams.fromRequest(Request request) {
  var params = EditGetRefactoringParams.fromJson(
      RequestDecoder(request), 'params', request.params);
  REQUEST_ID_REFACTORING_KINDS[request.id] = params.kind;
  return params;
}