SearchHits constructor

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

Returns a new SearchHits instance.

Implementation

const SearchHits({
  required this.hits,
  required this.query,
  required this.params,
  Map<String, dynamic> additionalProperties = const {},
}) : super(additionalProperties);