Finding class

One occurrence of a rule violation.

Constructors

Finding({required Rule rule, required String path, required String message, int? line, int? column})

Properties

column → int?
final
fingerprint ↔ String?
Content-based identity for baseline matching: a hash of rule id, path and the normalized source line, so it survives line shifts. Set by the engine after the rule produced the finding.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
line → int?
1-based, when the rule can point at a location.
final
message → String
final
path → String
Path relative to the audited project root, with forward slashes.
final
rule → Rule
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → Severity
no setter

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