normalize method Null safety

void normalize()

Puts all child nodes into a "normalized" form, that is no text nodes in the sub-tree are empty and there are no adjacent text nodes.

Implementation

void normalize() => XmlNormalizer.defaultInstance.visit(this);