getByValue static method

GraphicsPreset getByValue(
  1. int value
)

Implementation

static GraphicsPreset getByValue(int value) {
  return GraphicsPreset.values.firstWhere((x) => x.rawValue == value);
}