UnusedFilesConfig.fromAnalysisOptions constructor

UnusedFilesConfig.fromAnalysisOptions(
  1. AnalysisOptions options
)

Creates the config from analysis options.

Implementation

factory UnusedFilesConfig.fromAnalysisOptions(AnalysisOptions options) =>
    UnusedFilesConfig(
      excludePatterns: const [],
      analyzerExcludePatterns:
          options.readIterableOfString(['analyzer', 'exclude']),
      isMonorepo: false,
    );