MetricValueLevel class

Enum class for value level.

Used when reporting computed metric value.

Implemented types

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

compareTo(MetricValueLevel other) int
Compares this object to another object.
override
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 <(MetricValueLevel other) bool
Relational less than operator.
operator <=(MetricValueLevel other) bool
Relational less than or equal operator.
operator ==(Object other) bool
The equality operator.
inherited
operator >(MetricValueLevel other) bool
Relational greater than operator.
operator >=(MetricValueLevel other) bool
Relational greater than or equal operator.

Static Methods

fromString(String? level) MetricValueLevel?
Converts the human readable level string into a MetricValueLevel value.

Constants

alarm → const MetricValueLevel
The value in the "red" zone.
none → const MetricValueLevel
The value in the "green" zone.
noted → const MetricValueLevel
The value in the "blue" zone.
values → const List<MetricValueLevel>
A list containing all of the enum values that are defined.
warning → const MetricValueLevel
The value in the "yellow" zone.