Finding class

One reported problem at a location in a test file.

Implemented types

Constructors

Finding({required Rule rule, required Severity severity, required String path, required int line, required int column, required String message})
Creates a finding.
const

Properties

column → int
1-based column.
final
hashCode → int
The hash code for this object.
no setterinherited
line → int
1-based line.
final
message → String
What was found, specific to this occurrence.
final
path → String
Path of the file, relative to the working directory when possible.
final
rule → Rule
The rule that produced it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → Severity
Severity of this occurrence; can be lower than the rule's default.
final

Methods

compareTo(Finding other) → int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object>
The finding as a JSON-compatible map.
toString() → String
A string representation of this object.
override

Operators

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