StaleIgnore class

A single stale ignore finding: an ignore directive whose suppressed rule did not produce a diagnostic on the target line.

Constructors

StaleIgnore({required String filePath, required int commentLine, required int targetLine, required String ruleName, required String commentText})
const

Properties

commentLine int
1-based line number where the // ignore: comment appears.
final
commentText String
The full text of the ignore comment (trimmed).
final
filePath String
Path to the file containing the stale ignore.
final
hashCode int
The hash code for this object.
no setterinherited
ruleName String
The saropa rule name referenced in the ignore directive.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetLine int
1-based line number the ignore was intended to suppress (same line for inline ignores, next line for standalone ignores).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited