sendEvent method

void sendEvent(
  1. EditorEvent event
)

Send an event to the editor.

It's implemented to allow the developer to send custom events to the editor.

Implementation

void sendEvent(EditorEvent event) => __eventsController?.add(event);