fromValue static method
Converts an integer value to the corresponding LSLProcessingOptions enum value.
Implementation
static LSLProcessingOptions fromValue(int value) {
return LSLProcessingOptions.values.firstWhere(
(e) => e.value == value,
orElse: () => throw ArgumentError(
'No matching LSLProcessingOptions for value: $value',
),
);
}