DictionaryEntry constructor

DictionaryEntry(
  1. {required List<String> definitions,
  2. required double popularity,
  3. List<String> headingTagNames = const [],
  4. List<String> entryTagNames = const [],
  5. List<String>? imagePaths,
  6. List<String>? audioPaths,
  7. String? extra,
  8. Id? id}
)

A standard dictionary entry would only contain text content, but may also be represented with image or audio, or in a custom format.

Implementation

DictionaryEntry({
  required this.definitions,
  required this.popularity,
  this.headingTagNames = const [],
  this.entryTagNames = const [],
  this.imagePaths,
  this.audioPaths,
  this.extra,
  this.id,
});