S3Grantee.fromXml constructor

S3Grantee.fromXml(
  1. XmlElement elem
)

Implementation

factory S3Grantee.fromXml(_s.XmlElement elem) {
  return S3Grantee(
    displayName: _s.extractXmlStringValue(elem, 'DisplayName'),
    identifier: _s.extractXmlStringValue(elem, 'Identifier'),
    typeIdentifier: _s
        .extractXmlStringValue(elem, 'TypeIdentifier')
        ?.toS3GranteeTypeIdentifier(),
  );
}