toXml method
void
toXml()
Implementation
void toXml() {
Transport.builder.element('SourceToken', nest: () {
Transport.builder.namespace(Xmlns.tt);
if (type != null) {
Transport.builder.element('Type', nest: () {
Transport.builder.namespace(Xmlns.tt);
Transport.builder.text(type!);
});
Transport.builder.element('Token', nest: () {
Transport.builder.namespace(Xmlns.tt);
Transport.builder.text(token);
});
}
});
}