forValue static method

PlayerSDKState forValue(
  1. int id
)

Implementation

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