Severity class

Enum class for severity.

Used when reporting issues.

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
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromString(String? severity) Severity?
Converts the human readable severity string into a Severity value.

Constants

error → const Severity
Programming error.
none → const Severity
No severity.
performance → const Severity
Performance warning.
style → const Severity
Style warning.
values → const List<Severity>
A list containing all of the enum values that are defined.
warning → const Severity
Warning.