ESteamPartyBeaconLocationData.fromValue constructor
ESteamPartyBeaconLocationData.fromValue(
- int value
Implementation
factory ESteamPartyBeaconLocationData.fromValue(int value) {
switch (value) {
case 0:
return ESteamPartyBeaconLocationData.invalid;
case 1:
return ESteamPartyBeaconLocationData.name;
case 2:
return ESteamPartyBeaconLocationData.iconUrlSmall;
case 3:
return ESteamPartyBeaconLocationData.iconUrlMedium;
case 4:
return ESteamPartyBeaconLocationData.iconUrlLarge;
default:
throw UnknownEnumValueException(
"Unknown value for 'ESteamPartyBeaconLocationData'. The value was: '$value'",
);
}
}