removeHitsForVisitorId method
Extract the hits // Hits must be deleted from the pool (expect the Consent type ones).
Implementation
void removeHitsForVisitorId(String visitorId) {
  fsQueue.removeWhere((element) {
    return ((element.visitorId == visitorId ||
            element.anonymousId == visitorId) &&
        element.type != HitCategory.CONSENT);
  });
}