SearchHits constructor

const SearchHits({
  1. required List<Hit> hits,
  2. required String query,
  3. required String params,
})

Returns a new SearchHits instance.

Implementation

const SearchHits({
  required this.hits,
  required this.query,
  required this.params,
});