RestoreStatus.fromXml constructor
RestoreStatus.fromXml(
- XmlElement elem
Implementation
factory RestoreStatus.fromXml(_s.XmlElement elem) {
return RestoreStatus(
currentRestoreRateInMegaBytesPerSecond: _s.extractXmlDoubleValue(
elem, 'CurrentRestoreRateInMegaBytesPerSecond'),
elapsedTimeInSeconds: _s.extractXmlIntValue(elem, 'ElapsedTimeInSeconds'),
estimatedTimeToCompletionInSeconds:
_s.extractXmlIntValue(elem, 'EstimatedTimeToCompletionInSeconds'),
progressInMegaBytes: _s.extractXmlIntValue(elem, 'ProgressInMegaBytes'),
snapshotSizeInMegaBytes:
_s.extractXmlIntValue(elem, 'SnapshotSizeInMegaBytes'),
status: _s.extractXmlStringValue(elem, 'Status'),
);
}