toXml method
void
toXml()
Implementation
void toXml() {
Transport.builder.element('Scope', nest: () {
Transport.builder.namespace(Xmlns.tse);
if (includedSources != null) {
Transport.builder.element('IncludedSources', nest: () {
for (var sourceToken in includedSources!) {
sourceToken.toXml();
}
});
}
if (includedRecordings != null) {
Transport.builder.element('IncludedRecordings', nest: () {
Transport.builder.text(includedRecordings!.join(','));
});
}
if (recordingInformationFilter != null) {
Transport.builder.element('RecordingInformationFilter', nest: () {
Transport.builder.text(recordingInformationFilter!);
});
}
});
}