forValue static method

PlayerSDKLogLevel forValue(
  1. int id
)

Implementation

static PlayerSDKLogLevel forValue(int id) {
  PlayerSDKLogLevel ret = PlayerSDKLogLevel.Compiled;
  for (PlayerSDKLogLevel item in _typesByValue) {
    if (item.value == id) { return item; }
  }
  return ret;
}