VocabularyUse constructor

VocabularyUse({
  1. required String kind,
  2. required String word,
  3. required String source,
  4. required int line,
  5. required int column,
  6. String? on,
  7. String? value,
  8. String? to,
  9. String? node,
  10. List<String> path = const [],
  11. List<String> texts = const [],
  12. Map<String, String> parameters = const {},
  13. List<String> flags = const [],
  14. Map<String, String> events = const {},
  15. List<String>? children,
  16. String? of,
})

Implementation

VocabularyUse({
  required this.kind,
  required this.word,
  required this.source,
  required this.line,
  required this.column,
  this.on,
  this.value,
  this.to,
  this.node,
  this.path = const [],
  this.texts = const [],
  this.parameters = const {},
  this.flags = const [],
  this.events = const {},
  List<String>? children,
  String? of,
}) : children = children ?? [] {
  _of = of;
}