Severity enum

How serious a finding is.

Inheritance
Available extensions

Values

error → const Severity

The pattern stalls a widget test whenever it runs.

warning → const Severity

The pattern stalls or fails a widget test in the common case.

info → const Severity

The pattern can stall a widget test, depending on code tarpit cannot see (a closure that may not be awaited, unresolved types, data size).

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

atLeast(Severity other) → bool
Whether this severity is at least as serious as other.
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

Static Methods

parse(String value) → Severity
Parses error, warning or info.

Constants

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