clearEventQueue method

void clearEventQueue()

Discards all events currently in the offline queue without sending them.

Implementation

void clearEventQueue() {
  if (!_isInitialized) {
    LinkFortyLogger.log('SDK not initialized. Call initialize() first.');
    return;
  }
  _eventTracker?.clearQueue();
}