enqueue method

void enqueue(
  1. NavigationAnalyticsEvent event
)

Queues a navigation analytics event for background processing. The queue dispatches enter/exit events to the sink's onScreenEnter / onScreenExit.

Implementation

void enqueue(NavigationAnalyticsEvent event) {
  if (_isShutdown) return;

  _eventQueue.add(event);
  _scheduleProcessing();
}