dispatchInit static method

void dispatchInit(
  1. ModOverlayLifecycleEvent event
)

Dispatches a global init event.

Public mainly for package-level integrations; app code should usually set onInit rather than calling this directly.

Implementation

static void dispatchInit(ModOverlayLifecycleEvent event) {
  _safeDispatch(onInit, event, 'onInit');
}