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