fromValue static method
Implementation
static ma_share_mode fromValue(int value) => switch (value) {
0 => ma_share_mode_shared,
1 => ma_share_mode_exclusive,
_ => throw ArgumentError('Unknown value for ma_share_mode: $value'),
};