fromValue static method
Returns the RlDrawMode for the given native value.
Throws ArgumentError if value does not correspond to a known entry.
Implementation
static RlDrawMode fromValue(int value) => switch (value) {
0x0001 => RL_LINES,
0x0004 => RL_TRIANGLES,
0x0007 => RL_QUADS,
_ => throw ArgumentError('Unknown value for $RlDrawMode: $value'),
};