getEventHandler method

ChatEventHandler? getEventHandler(
  1. String identifier
)

~english Get the chat event handler.

Param identifier The custom handler identifier.

Return The chat event handler. ~end

~chinese 获取事件监听。

Param identifier 要获取监听对应的 ID。

Return 事件监听。 ~end

Implementation

ChatEventHandler? getEventHandler(String identifier) {
  return _eventHandlesMap[identifier];
}