toEvent

abstract fun toEvent(code: String, sortId: Int): E

The event of the node created with code at sortId.