toXML method
Implementation
@override
String toXML() {
return '''
<?xml version="1.0" encoding="utf-8"?>
<cupps xmlns:xsi="$xsi" messageName="$messageName" messageID="$messageID">
<$messageName result="$result">
${interfaceLevels.map((e) => e.toXML()).join("")}
</$messageName>
</cupps>
'''
.replaceAll("\n", "")
.replaceAll("\t", "")
.replaceAll(" ", "");
}