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(
      prepareExcludes(config.excludePatterns, rootPath),
      config.classPattern,
    );