forValue static method

PlayerSDKRecordFlags forValue(
  1. int id
)

Implementation

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