Threshold enum Null safety

Inheritance

Constructors

Threshold(String value)
const
Threshold.fromJson(String value)
factory

Values

good → const Threshold

Represents that the network has reached a good threshold of packet loss.

Threshold('good')
low → const Threshold

Represents that the network has reached a low threshold of packet loss.

Threshold('low')
veryLow → const Threshold

Represents that the network has reached a very low threshold of packet loss.

Threshold('very-low')

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<Threshold>
A constant List of the values in this enum, in order of their declaration.
[good, low, veryLow]