addChildElement method
Returns new reference to the added element where this element is its parent
Implementation
GedcomElement addChildElement(GedcomElement element) {
final newElement = element.copyWith(parent: this);
_children.add(newElement);
//TODO consider using copyWith instead of modifying the underlying list
return newElement;
}