fromValue static method
Returns the GuiListViewProperty for the given native value.
Throws ArgumentError if value does not correspond to a known entry.
Implementation
static GuiListViewProperty fromValue(int value) => switch (value) {
16 => LIST_ITEMS_HEIGHT,
17 => LIST_ITEMS_SPACING,
18 => SCROLLBAR_WIDTH,
19 => SCROLLBAR_SIDE,
20 => LIST_ITEMS_BORDER_NORMAL,
21 => LIST_ITEMS_BORDER_WIDTH,
_ => throw ArgumentError('Unknown value for $GuiListViewProperty: $value'),
};