fromValue static method

GuiProgressBarProperty fromValue(
  1. int value
)

Implementation

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