ViewItem constructor

const ViewItem({
  1. required WordUnit wordUnit,
  2. required WordType wordType,
  3. required String word,
  4. required PartOfSpeech pos,
  5. required int targetCode,
  6. required int supNo,
  7. required String link,
  8. List<PronunciationInfo> pronunciations = const [],
  9. List<OriginalLanguageInfo> origins = const [],
  10. List<ConjugationInfo> conjugations = const [],
  11. List<AbbreviationInfo> abbreviations = const [],
  12. List<ReferenceInfo> references = const [],
  13. List<CategoryInfo> categories = const [],
  14. List<DerivativeInfo> derivatives = const [],
  15. List<SenseInfo> senses = const [],
  16. List<SubwordInfo> subwords = const [],
  17. 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,
});