toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'Error',
nest: () {
builder.element('Code', nest: code);
builder.element('Key', nest: key);
builder.element('Message', nest: message);
builder.element('VersionId', nest: versionId);
},
);
return builder.buildDocument();
}