visitElement method Null safety

  1. @override
XmlElement visitElement(
  1. XmlElement node
)
override

Visit an XmlElement node.

Implementation

@override
XmlElement visitElement(XmlElement node) => XmlElement(visit(node.name),
    node.attributes.map(visit), node.children.map(visit), node.isSelfClosing);