IssueSeverity enum

Severity of a check finding. Determines exit code and prefix in the console report.

Soft mode (default): warnings stay warnings, errors are real errors, exit code reflects errors only. --strict (CI): warnings get promoted to errors before exit-code is computed, except length-ratio which stays a warning unless --strict-length is also passed.

info is a note that never fails a run, strict or not (for example the per-locale progress line for a partial locale).

Inheritance
Available extensions

Values

info → const IssueSeverity
warning → const IssueSeverity
error → const IssueSeverity

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
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

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<IssueSeverity>
A constant List of the values in this enum, in order of their declaration.