setMeta

fun <T> setMeta(key: String, value: T): EventCustom

Sets a value for the metadata with a specific key.

Return

The EventCustom instance with the updated metadata.

Parameters

key

The key of the metadata.

value

The value to set for the metadata.