getUnusedL10nConfig static method

UnusedL10nAnalysisConfig getUnusedL10nConfig(
  1. UnusedL10nConfig config,
  2. String rootPath
)

Creates an unused localization config from given raw config.

Implementation

static UnusedL10nAnalysisConfig getUnusedL10nConfig(
  UnusedL10nConfig config,
  String rootPath,
) =>
    UnusedL10nAnalysisConfig(
      createAbsolutePatterns(config.excludePatterns, rootPath),
      config.classPattern,
    );