SearchItem class

Item coming from api/search

Inheritance

Constructors

SearchItem({required List<Sense> senses, required String word, required PartOfSpeech pos, required int targetCode, required int supNo, required String link, String? origin, String? pronunciation, WordGrade? wordGrade})
const
SearchItem.fromViewItem(ViewItem viewItem, {TranslationLanguage? translationLanguage})
factory
SearchItem.fromXmlElement(XmlElement data)
"item" xml element.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
URL to see the word.
finalinherited
origin String?
Chinese characters.
final
pos PartOfSpeech
finalinherited
pronunciation String?
Pronunciation of the word.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senses List<Sense>
Word meanings.
final
supNo int
Number of homonym.
finalinherited
targetCode int
ID on krdict.korean.go.kr's database.
finalinherited
word String
Word text.
finalinherited
wordGrade WordGrade?
Word level.
finalinherited

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