ExtractMethodOptions.fromRefactoringParams constructor

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

Implementation

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