ViewItem constructor
const
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,
Implementation
const ViewItem({
required this.wordUnit,
required this.wordType,
required super.word,
required super.pos,
required super.targetCode,
required super.supNo,
required super.link,
this.pronunciations = const [],
this.origins = const [],
this.conjugations = const [],
this.abbreviations = const [],
this.references = const [],
this.categories = const [],
this.derivatives = const [],
this.senses = const [],
this.subwords = const [],
super.wordGrade,
});