getEnum

abstract fun <T : Enum<T>> getEnum(feature: Feature, clazz: Class<T>): T

Returns the value of an enumerated dynamic flag.