argument

val argument: Any? = null

This parameter may be used to pass arbitrary data with the event, so there is no need to define Event subclasses every time. Subclassing should be preferred if the event always contains data of some type.