fromValue static method
Implementation
static ThresholdDirection fromValue(String value) {
for (final item in ThresholdDirection.values) {
if (item.wireValue == value) {
return item;
}
}
throw ArgumentError('Unknown ThresholdDirection value: $value');
}