toXml method

  1. @override
XMLNode toXml()
override

Turn the source into an XML element.

Implementation

@override
XMLNode toXml() {
  return XMLNode.xmlns(
    tag: 'url-data',
    xmlns: urlDataXmlns,
    attributes: <String, String>{
      'target': url,
    },
  );
}