visitAttribute method Null safety

  1. @override
void visitAttribute(
  1. XmlAttribute node
)
override

Visit an XmlAttribute node.

Implementation

@override
void visitAttribute(XmlAttribute node) {
  visit(node.name);
  buffer.write(XmlToken.equals);
  buffer.write(entityMapping.encodeAttributeValueWithQuotes(
      node.value, node.attributeType));
}