fromValue static method
Implementation
static ma_seek_origin fromValue(int value) => switch (value) {
0 => ma_seek_origin_start,
1 => ma_seek_origin_current,
2 => ma_seek_origin_end,
_ => throw ArgumentError('Unknown value for ma_seek_origin: $value'),
};