setPropertyFromEnum method

void setPropertyFromEnum(
  1. String property,
  2. Enum value
)

Set property from enum as index

Implementation

void setPropertyFromEnum(String property, Enum value)
{
  setPropertyUnsafe(property, value.index);
}