WriteToXmlWithNamespace method
void
WriteToXmlWithNamespace(
- EwsServiceXmlWriter writer,
- XmlNamespace xmlNamespace,
- String? xmlElementName
override
Implementation
@override
void WriteToXmlWithNamespace(
EwsServiceXmlWriter writer,
XmlNamespace xmlNamespace,
String? xmlElementName,
) {
// Only write collection if it has at least one element.
if (_entries.isNotEmpty) {
super.WriteToXmlWithNamespace(writer, xmlNamespace, xmlElementName);
}
}