UnnecessaryNullableAnalyzer class
The analyzer responsible for collecting unnecessary nullable parameters reports.
Constructors
- UnnecessaryNullableAnalyzer([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< UnnecessaryNullableFileReport, UnnecessaryNullableReportParams> ? -
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, UnnecessaryNullableConfig config, {String? sdkPath}) → Future<Iterable< UnnecessaryNullableFileReport> > -
Returns a list of unnecessary nullable parameters 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