encodeDamageType function

int? encodeDamageType(
  1. DamageType? value
)

Implementation

int? encodeDamageType (DamageType? value) {
  return value?.value;
}