LoggingStatus.fromXml constructor
LoggingStatus.fromXml(
- XmlElement elem
Implementation
factory LoggingStatus.fromXml(_s.XmlElement elem) {
return LoggingStatus(
bucketName: _s.extractXmlStringValue(elem, 'BucketName'),
lastFailureMessage: _s.extractXmlStringValue(elem, 'LastFailureMessage'),
lastFailureTime: _s.extractXmlDateTimeValue(elem, 'LastFailureTime'),
lastSuccessfulDeliveryTime:
_s.extractXmlDateTimeValue(elem, 'LastSuccessfulDeliveryTime'),
loggingEnabled: _s.extractXmlBoolValue(elem, 'LoggingEnabled'),
s3KeyPrefix: _s.extractXmlStringValue(elem, 'S3KeyPrefix'),
);
}