getUnnecessaryNullableConfig static method
UnnecessaryNullableAnalysisConfig
getUnnecessaryNullableConfig(
- UnnecessaryNullableConfig config,
- String rootPath
Creates an unnecessary nullable config from given raw config
.
Implementation
static UnnecessaryNullableAnalysisConfig getUnnecessaryNullableConfig(
UnnecessaryNullableConfig config,
String rootPath,
) =>
UnnecessaryNullableAnalysisConfig(
prepareExcludes(config.excludePatterns, rootPath),
prepareExcludes(config.analyzerExcludePatterns, rootPath),
);