updateTotals method

void updateTotals(
  1. Record rec
)

Update totals

Implementation

void updateTotals(Record rec) {
  totalFinds += rec.lines?.found ?? 0;
  totalHits += rec.lines?.hit ?? 0;
}