Event.viewHits constructor

Event.viewHits(
  1. String eventName,
  2. String indexName,
  3. String userToken,
  4. Iterable<String> objectIDs, {
  5. DateTime? timestamp,
})

Creates a view event with object IDs.

Implementation

Event.viewHits(
  String eventName,
  String indexName,
  String userToken,
  Iterable<String> objectIDs, {
  DateTime? timestamp,
}) : this._(
        EventType.view,
        eventName,
        indexName,
        userToken,
        objectIDs: objectIDs,
        timestamp: timestamp,
      );