DictionaryHeading constructor

DictionaryHeading(
  1. {required String term,
  2. String reading = ''}
)

A heading must have a term and a reading. Different languages may perform searches based on only the term or only the reading, or both.

Implementation

DictionaryHeading({
  required this.term,
  this.reading = '',
});