RenameOptions.fromRefactoringParams constructor

RenameOptions.fromRefactoringParams(
  1. EditGetRefactoringParams refactoringParams,
  2. Request request, {
  3. ClientUriConverter? clientUriConverter,
})

Implementation

factory RenameOptions.fromRefactoringParams(
  EditGetRefactoringParams refactoringParams,
  Request request, {
  ClientUriConverter? clientUriConverter,
}) {
  return RenameOptions.fromJson(
    RequestDecoder(request),
    'options',
    refactoringParams.options,
    clientUriConverter: clientUriConverter,
  );
}