CheckResult class

The outcome of a run.

Constructors

CheckResult({required List<Finding> findings, required List<String> files, required List<String> untyped})
Creates a result.
const

Properties

files → List<String>
The files that were checked, as displayed in findings.
final
findings → List<Finding>
All findings that were not suppressed, sorted by location.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
untyped → List<String>
Files checked without type information (imports did not resolve).
final

Methods

count(Severity severity) → int
Number of findings with severity.
failsAt(Severity threshold) → bool
Whether any finding is at least as serious as threshold.
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