baseClass

abstract fun baseClass(): Class

The base type for an annotated parameter as it's defined in the event object. This is useful if an event callback wants to receive a more specific type for a param than what's declared in the Event object. The generated code will implicitly cast parameters before it delegates to the spec method.

Either the parameter type as declared or the type specified here must match the type in the Event object.