DictionarySearchResult class

A database entity for storing references to DictionaryEntry results that are yielded from dictionary database searches.

Annotations

Constructors

DictionarySearchResult({required String searchTerm, int bestLength = 0, int scrollPosition = 0, List<int> headingIds = const [], Id? id})
Define a search result with the given references to DictionaryEntry items.

Properties

bestLength int
The best length found for the search term used for highlighting the selected word.
final
hashCode int
The hash code for this object.
read-onlyinherited
headingIds List<int>
List of heading ids by sorting order.
final
headings IsarLinks<DictionaryHeading>
A single result may have multiple headings in the result, which in turn contain multiple dictionary entries.
final
id Id?
Identifier for database purposes.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scrollPosition int
The current scroll position of the result in dictionary history.
read / write
searchTerm String
Original search term used to make the result.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited