Severity enum

Severity levels for audit findings, ordered by impact.

Used for sorting issues, computing scores, and coloring terminal output.

Inheritance
Available extensions

Values

info → const Severity

Informational — style suggestions, not bugs.

warning → const Severity

Warning — likely problem but app still works.

error → const Severity

Error — definite bug that should be fixed.

critical → const Severity

Critical — security risk or guaranteed crash.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
label String

Available on Severity, provided by the SeverityX extension

Human-readable label for terminal and reports.
no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scorePenalty int

Available on Severity, provided by the SeverityX extension

Points deducted from the category score per occurrence.
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

Constants

values → const List<Severity>
A constant List of the values in this enum, in order of their declaration.