Severity enum

The level of danger a message represents.

Available extensions

Values

info → const Severity

A simple message that doesn't represent an issue.

warning → const Severity

A warning that something may go wrong soon.

This could be used to imply possible damage to the rover, possible disconnects, etc.

error → const Severity

Some operation did not work and requires manual intervention.

critical → const Severity

Something went wrong and data or commands may be lost.

Properties

color Color?

Available on Severity, provided by the SeverityUtil extension

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