UnusedL10nConfig.fromArgs constructor

UnusedL10nConfig.fromArgs(
  1. Iterable<String> excludePatterns,
  2. String classPattern
)

Creates the config from cli args.

Implementation

factory UnusedL10nConfig.fromArgs(
  Iterable<String> excludePatterns,
  String classPattern,
) =>
    UnusedL10nConfig(
      excludePatterns: excludePatterns,
      analyzerExcludePatterns: const [],
      classPattern: classPattern,
    );