getByValue static method

SoundCategory getByValue(
  1. int value
)

Implementation

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