GedcomElement constructor

GedcomElement({
  1. required int level,
  2. required String tag,
  3. String? pointer,
  4. String? value,
  5. List<GedcomElement>? children,
  6. GedcomElement? parent,
  7. String? crlf = '\n',
})

Constructor of the element

Implementation

GedcomElement({
  required this.level,
  required this.tag,
  this.pointer,
  this.value,
  List<GedcomElement>? children,
  this.parent,
  this.crlf = '\n',
}) : _children = children ?? [];