DictionarySearchResult constructor

DictionarySearchResult(
  1. {required String searchTerm,
  2. int bestLength = 0,
  3. int scrollPosition = 0,
  4. List<int> headingIds = const [],
  5. Id? id}
)

Define a search result with the given references to DictionaryEntry items.

Implementation

DictionarySearchResult({
  required this.searchTerm,
  this.bestLength = 0,
  this.scrollPosition = 0,
  this.headingIds = const [],
  this.id,
});