getByValue static method

ObstaclePassLimitation getByValue(
  1. int value
)

Implementation

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