EditGetRefactoringParams.fromRequest constructor

EditGetRefactoringParams.fromRequest(
  1. Request request, {
  2. ClientUriConverter? clientUriConverter,
})

Implementation

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