writeAttributes method Null safety

void writeAttributes(
  1. XmlHasAttributes node
)

Implementation

void writeAttributes(XmlHasAttributes node) {
  if (node.attributes.isNotEmpty) {
    buffer.write(XmlToken.whitespace);
    writeIterable(node.attributes, XmlToken.whitespace);
  }
}