getUnusedL10nConfigFromArgs static method

UnusedL10nConfig getUnusedL10nConfigFromArgs(
  1. Iterable<String> excludePatterns,
  2. String classPattern, {
  3. required bool shouldPrintConfig,
})

Creates a raw unused localization config from given excludePatterns and classPattern.

Implementation

static UnusedL10nConfig getUnusedL10nConfigFromArgs(
  Iterable<String> excludePatterns,
  String classPattern, {
  required bool shouldPrintConfig,
}) =>
    UnusedL10nConfig.fromArgs(
      excludePatterns,
      classPattern,
      shouldPrintConfig: shouldPrintConfig,
    );