fromValue static method
Returns the GuiColorPickerProperty for the given native value.
Throws ArgumentError if value does not correspond to a known entry.
Implementation
static GuiColorPickerProperty fromValue(int value) => switch (value) {
16 => COLOR_SELECTOR_SIZE,
17 => HUEBAR_WIDTH,
18 => HUEBAR_PADDING,
19 => HUEBAR_SELECTOR_HEIGHT,
20 => HUEBAR_SELECTOR_OVERFLOW,
_ => throw ArgumentError('Unknown value for $GuiColorPickerProperty: $value'),
};