fromValue static method

GuiCheckBoxProperty fromValue(
  1. int value
)

Returns the GuiCheckBoxProperty for the given native value.

Throws ArgumentError if value does not correspond to a known entry.

Implementation

static GuiCheckBoxProperty fromValue(int value) => switch (value) {
  16 => CHECK_PADDING,
  _ => throw ArgumentError('Unknown value for $GuiCheckBoxProperty: $value'),
};