ReadElementsFromXml method
Reads response elements from XML.
The reader.
Implementation
@override
Future<void> ReadElementsFromXml(EwsServiceXmlReader reader) async {
await super.ReadElementsFromXml(reader);
// The C# API reads this element with XmlNamespace.NotSpecified; Exchange
// puts it in the messages namespace (as a default xmlns), which the Dart
// reader matches by namespace URI.
await reader.ReadStartElementWithNamespace(
XmlNamespace.Messages,
XmlElementNames.PasswordExpirationDate,
);
_passwordExpirationDate = await reader.ReadElementValueAsDateTime();
}