sendEvent static method

void sendEvent({
  1. required ScriptEventType event,
})

Implementation

static void sendEvent({required ScriptEventType event}) {
  EventBusTool.eventBus.fire(event);
}