ExtractWidgetOptions.fromRefactoringParams constructor

ExtractWidgetOptions.fromRefactoringParams(
  1. EditGetRefactoringParams refactoringParams,
  2. Request request
)

Implementation

factory ExtractWidgetOptions.fromRefactoringParams(
    EditGetRefactoringParams refactoringParams, Request request) {
  return ExtractWidgetOptions.fromJson(
      RequestDecoder(request), 'options', refactoringParams.options);
}