DictionaryFormat constructor
- {required String uniqueKey,
- required String name,
- required IconData icon,
- required List<
String> allowedExtensions, - required bool isTextFormat,
- required FileType fileType,
- required Future<
void> prepareDirectory(- PrepareDirectoryParams params
- required Future<
String> prepareName(- PrepareDirectoryParams params
- required Future<
Map< prepareEntries(DictionaryHeading, List< >DictionaryEntry> >- PrepareDictionaryParams params
- required Future<
List< prepareTags(DictionaryTag> >- PrepareDictionaryParams params
- required Future<
Map< preparePitches(DictionaryHeading, List< >DictionaryPitch> >- PrepareDictionaryParams params
- required Future<
Map< prepareFrequencies(DictionaryHeading, List< >DictionaryFrequency> >- PrepareDictionaryParams params
Define a format with the given metadata that has its behaviour for import, search and display defined with a set of top-level helper methods.
Implementation
DictionaryFormat({
required this.uniqueKey,
required this.name,
required this.icon,
required this.allowedExtensions,
required this.isTextFormat,
required this.fileType,
required this.prepareDirectory,
required this.prepareName,
required this.prepareEntries,
required this.prepareTags,
required this.preparePitches,
required this.prepareFrequencies,
});