eventTypeOf

fun eventTypeOf(type: AggregateType, name: String): Class<*>?

The class of type's event name, or null when its model has none of that name.