LintFileReport class

Represents the metrics report collected for a file.

Implemented types

Constructors

LintFileReport({required String path, required String relativePath, required Report? file, required Map<String, Report> classes, required Map<String, Report> functions, required Iterable<Issue> issues, required Iterable<Issue> antiPatternCases})
const
LintFileReport.onlyIssues({required String path, required String relativePath, required Iterable<Issue> issues})
const

Properties

antiPatternCases Iterable<Issue>
The anti-pattern cases detected in the target file.
final
classes Map<String, Report>
The all classes reports in the target file.
final
file Report?
The metrics report about the target file.
final
functions Map<String, Report>
The all functions / methods reports in the target file.
final
hashCode int
The hash code for this object.
no setterinherited
issues Iterable<Issue>
The issues detected in the target file.
final
path String
The path to the target file.
final
relativePath String
The path to the target file relative to the package root.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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