InternalLoadFromXml method
Load from XML.
The reader.
Implementation
@override
Future<void> InternalLoadFromXml(EwsServiceXmlReader reader) async {
await super.InternalLoadFromXml(reader);
this._itemId = new complex.ItemId();
await this._itemId!.LoadFromXml(reader, reader.LocalName);
await reader.Read();
this.ParentFolderId = new FolderId();
await this
.ParentFolderId!
.LoadFromXml(reader, XmlElementNames.ParentFolderId);
switch (this.EventType) {
case EventType.Moved:
case EventType.Copied:
await reader.Read();
this._oldItemId = new complex.ItemId();
await this._oldItemId!.LoadFromXml(reader, reader.LocalName);
await reader.Read();
this.OldParentFolderId = new FolderId();
await this.OldParentFolderId!.LoadFromXml(reader, reader.LocalName);
break;
default:
break;
}
}