UnusedCodeConfig.fromArgs constructor
UnusedCodeConfig.fromArgs(})
Creates the config from cli args.
Implementation
factory UnusedCodeConfig.fromArgs(
Iterable<String> excludePatterns, {
required bool isMonorepo,
required bool shouldPrintConfig,
}) =>
UnusedCodeConfig(
shouldPrintConfig: shouldPrintConfig,
excludePatterns: excludePatterns,
analyzerExcludePatterns: const [],
isMonorepo: isMonorepo,
);