decodeDamageType function
Implementation
DamageType? decodeDamageType (dynamic value) {
if(value == null) {
return null;
}
if(_$DamageTypeValueMap.containsKey(value)){
return _$DamageTypeValueMap[value];
}
return DamageType.ProtectedInvalidEnumValue;
}