extractHitsWithVisitorId method

List<Hit> extractHitsWithVisitorId(
  1. String visitorId
)

Extract the hits relative to visitor

Implementation

List<Hit> extractHitsWithVisitorId(String visitorId) {
  return fsQueue.where((element) {
    return (element.visitorId == visitorId);
  }).toList();
}