DictionaryHeading class
A database entity that that effectively acts as the primary key for a dictionary search. Dictionary headings, which specify the term and reading, may point to multiple dictionary entries.
Dictionary keys are shared between multiple imported dictionaries.
- Annotations
-
- @Collection()
Constructors
- DictionaryHeading({required String term, 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.
Properties
-
entries
→ IsarLinks<
DictionaryEntry> -
A heading may have multiple dictionary entries.
final
-
frequencies
→ IsarLinks<
DictionaryFrequency> -
A heading may have multiple frequency data.
final
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- id → Id
-
Identifier for database purposes.
read-only
-
pitches
→ IsarLinks<
DictionaryPitch> -
A heading may have multiple pitch data.
final
- popularitySum → double
-
Sum of popularity of all dictionary entries belonging to this entry.
read-only
- reading → String
-
An alternate form of the term. This is useful for languages which have an
which must distinguish different keys which share the same term, but may
have multiple pronunciations.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
A heading may have multiple tags.
final
- term → String
-
A word or phrase. This effectively acts as the headword, or the primary
concept to be learned or represented in a dictionary entry.
final
- termLength → int
-
Term of the reading. Used for prioritising starts with matches.
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override