ESteamPartyBeaconLocationType.fromValue constructor

ESteamPartyBeaconLocationType.fromValue(
  1. int value
)

Implementation

factory ESteamPartyBeaconLocationType.fromValue(int value) {
  switch (value) {
    case 0:
      return ESteamPartyBeaconLocationType.invalid;
    case 1:
      return ESteamPartyBeaconLocationType.chatGroup;
    case 2:
      return ESteamPartyBeaconLocationType.max;
    default:
      throw UnknownEnumValueException(
        "Unknown value for 'ESteamPartyBeaconLocationType'. The value was: '$value'",
      );
  }
}