fromValue static method

tagOLERENDER fromValue(
  1. int value
)

Implementation

static tagOLERENDER fromValue(int value) => switch (value) {
      0 => OLERENDER_NONE,
      1 => OLERENDER_DRAW,
      2 => OLERENDER_FORMAT,
      3 => OLERENDER_ASIS,
      _ => throw ArgumentError('Unknown value for tagOLERENDER: $value'),
    };