processing method Null safety

void processing(
  1. String target,
  2. Object text

Adds a XmlProcessing node with the provided target and text.

For example, to generate a processing element with the xml-stylesheet and the attributes href="/style.css" type="text/css" title="default stylesheet" one would write:

    'href="/style.css" type="text/css" title="default stylesheet"');


void processing(String target, Object text) {
  _stack.last.children.add(XmlProcessing(target, text.toString()));