PrepareDictionaryParams class

For isolate communication purposes. See a dictionary fformat's name, entries and metadata preparation methods. Some parameters may be null at certain stages of the import.

Inheritance

Constructors

PrepareDictionaryParams({required Dictionary dictionary, required DictionaryFormat dictionaryFormat, required Directory workingDirectory, required bool useSlowImport, required SendPort alertSendPort, required SendPort sendPort, required String directoryPath})
Prepare parameters for a dictionary format's name, entries and metadata preparation methods.

Properties

alertSendPort SendPort
For communication with a ReceivePort to show a dialog message to notify the user of critical information relating to import.
final
dictionary Dictionary
The new dictionary to be added after the import is complete.
final
dictionaryFormat DictionaryFormat
The dictionary format to be used for entry processing.
final
directoryPath String
Database directory path.
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sendPort SendPort
For communication with a ReceivePort for isolate updates.
finalinherited
useSlowImport bool
Whether or not to use ACID-compliant importing.
final
workingDirectory Directory
A working directory from which to extract dictionary data from.
final

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
sendAlert({required String message}) → void
Send a message through the sendPort.
toString() String
A string representation of this object.
inherited

Operators

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