UnusedL10nAnalyzer class
The analyzer responsible for collecting unused localization reports.
Constructors
- UnusedL10nAnalyzer([Logger? _logger])
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getReporter(
{required String name, required IOSink output}) → Reporter< UnusedL10nFileReport, UnusedL10NReportParams> ? -
Returns a reporter for the given
name
. Use the reporter to convert analysis reports to console, JSON or other supported format. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runCliAnalysis(
Iterable< String> folders, String rootFolder, UnusedL10nConfig config, {String? sdkPath}) → Future<Iterable< UnusedL10nFileReport> > -
Returns a list of unused localization reports
for analyzing all files in the given
folders
. The analysis is configured with theconfig
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited