onSendChatAPIChatEvent method

dynamic onSendChatAPIChatEvent(
  1. SendChatAPIEvent event,
  2. dynamic emit
)

Implementation

onSendChatAPIChatEvent(SendChatAPIEvent event, emit) {
  emit(SendChatAPIChatState(event.id, event.message, event.type, event.name, size: event.size));
}