ViewItem class
Item coming from api/view
Constructors
-
ViewItem({required WordUnit wordUnit, required WordType wordType, required String word, required PartOfSpeech pos, required int targetCode, required int supNo, required String link, List<
PronunciationInfo> pronunciations = const [], List<OriginalLanguageInfo> origins = const [], List<ConjugationInfo> conjugations = const [], List<AbbreviationInfo> abbreviations = const [], List<ReferenceInfo> references = const [], List<CategoryInfo> categories = const [], List<DerivativeInfo> derivatives = const [], List<SenseInfo> senses = const [], List<SubwordInfo> subwords = const [], WordGrade? wordGrade}) -
const
- ViewItem.fromXmlElement(XmlElement data)
-
"channel" xml element.
factory
Properties
-
abbreviations
→ List<
AbbreviationInfo> -
final
-
categories
→ List<
CategoryInfo> -
final
-
conjugations
→ List<
ConjugationInfo> -
final
-
derivatives
→ List<
DerivativeInfo> -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- link → String
-
URL to see the word.
finalinherited
-
origins
→ List<
OriginalLanguageInfo> -
final
- pos → PartOfSpeech
-
finalinherited
-
pronunciations
→ List<
PronunciationInfo> -
final
-
references
→ List<
ReferenceInfo> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
senses
→ List<
SenseInfo> -
final
-
subwords
→ List<
SubwordInfo> -
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
- wordType → WordType
-
고유어 여부
final
- wordUnit → WordUnit
-
구성 단위
final
Methods
-
addOtherSenseTranslations(
Iterable< ViewItem> iterable) → void - Add other translations from other ViewItem objects.
-
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