current property

FindHit? get current

The selected match, or null when there's none.

Implementation

FindHit? get current {
  final index = _index;
  return index == null ? null : hits[index];
}