onSendBatchWithSuccess method

void onSendBatchWithSuccess(
  1. List<Hit> listOfHitToSend
)

Implementation

void onSendBatchWithSuccess(List<Hit> listOfHitToSend) {
  // Remove from data base the stored hits
  this.fsCacheHit?.flushHits(listOfHitToSend.map((e) => e.id).toList());
}