fromValue static method

GuiTextBoxProperty fromValue(
  1. int value
)

Returns the GuiTextBoxProperty for the given native value.

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

Implementation

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