fire<T> static method

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

Implementation

static void fire<T>(T event, {EventBus? eventBus}) {
  eventBus ??= _eventBus;
  if (_debugLog) log('🔥 Event fired: ${event.runtimeType}', name: 'EVENT GO_ROUTER_MODULAR');
  eventBus.fire(event);
}