fire<T> static method

void fire<T>(
  1. T event, {
  2. EventBus? eventBus,
})

Dispara event no EventBus global (ou no eventBus fornecido).

Implementation

static void fire<T>(T event, {EventBus? eventBus}) {
  ModularEvent.fire<T>(event, eventBus: eventBus);
}