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