UnusedL10nConfig class
Represents raw unused files config which can be merged with other raw configs.
Constructors
-
UnusedL10nConfig({required Iterable<
String> excludePatterns, required Iterable<String> analyzerExcludePatterns, required String? classPattern, required bool shouldPrintConfig}) -
const
- UnusedL10nConfig.fromAnalysisOptions(AnalysisOptions options)
-
Creates the config from analysis
options
.factory -
UnusedL10nConfig.fromArgs(Iterable<
String> excludePatterns, String classPattern, {required bool shouldPrintConfig}) -
Creates the config from cli args.
factory
Properties
-
analyzerExcludePatterns
→ Iterable<
String> -
final
- classPattern → String?
-
final
-
excludePatterns
→ Iterable<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldPrintConfig → bool
-
final
Methods
-
merge(
UnusedL10nConfig overrides) → UnusedL10nConfig - Merges two configs into a single one.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited