GetBucketVersioningOutput.fromXml constructor

GetBucketVersioningOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory GetBucketVersioningOutput.fromXml(_s.XmlElement elem) {
  return GetBucketVersioningOutput(
    mFADelete:
        _s.extractXmlStringValue(elem, 'MfaDelete')?.toMFADeleteStatus(),
    status:
        _s.extractXmlStringValue(elem, 'Status')?.toBucketVersioningStatus(),
  );
}