DictionarySearchParams class

For isolate communication purposes. Used for dictionary search.

Inheritance

Constructors

DictionarySearchParams({required String searchTerm, required int maximumDictionarySearchResults, required int maximumDictionaryTermsInResult, required List<int> enabledDictionaryIds, required bool searchWithWildcards, required SendPort sendPort, required String directoryPath})
Prepare parameters needed for searching the dictionary database from a separate isolate.

Properties

directoryPath String
Database directory path.
finalinherited
enabledDictionaryIds List<int>
IDs of dictionaries that are not disabled.
final
hashCode int
The hash code for this object.
read-onlyoverride
maximumDictionarySearchResults int
Maximum number of items that can be in dictionary history.
final
maximumDictionaryTermsInResult int
Maximum number of headwords in a returned dictionary result.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
searchTerm String
Primary search term, likely taken from context.
final
searchWithWildcards bool
Whether or not this search performs a wildcard search.
final
sendPort SendPort
For communication with a ReceivePort for isolate updates.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Object? message) → void
Send a message through the sendPort.
inherited
toString() String
A string representation of this object.
inherited

Operators

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