fromValue static method
Implementation
static lsl_channel_format_t fromValue(int value) => switch (value) {
1 => cft_float32,
2 => cft_double64,
3 => cft_string,
4 => cft_int32,
5 => cft_int16,
6 => cft_int8,
7 => cft_int64,
0 => cft_undefined,
2130706432 => _cft_maxval,
_ => throw ArgumentError('Unknown value for lsl_channel_format_t: $value'),
};