ConsoleReporter class

Prints a formatted security & dependency audit report to the console.

Constructors

ConsoleReporter()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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
printReport(List<AuditRunResult> results, {required ProjectContext context, bool verbose = false, Severity? failOn = Severity.high}) int
Prints the full report and returns the process exit code: 0 if no issue meets failOn, 1 otherwise. Maintenance findings never affect the exit code. Pass failOn: null to always exit 0.
toString() String
A string representation of this object.
inherited

Operators

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