DomainMetadataResult.fromXml constructor

DomainMetadataResult.fromXml(
  1. XmlElement elem
)

Implementation

factory DomainMetadataResult.fromXml(_s.XmlElement elem) {
  return DomainMetadataResult(
    attributeNameCount: _s.extractXmlIntValue(elem, 'AttributeNameCount'),
    attributeNamesSizeBytes:
        _s.extractXmlIntValue(elem, 'AttributeNamesSizeBytes'),
    attributeValueCount: _s.extractXmlIntValue(elem, 'AttributeValueCount'),
    attributeValuesSizeBytes:
        _s.extractXmlIntValue(elem, 'AttributeValuesSizeBytes'),
    itemCount: _s.extractXmlIntValue(elem, 'ItemCount'),
    itemNamesSizeBytes: _s.extractXmlIntValue(elem, 'ItemNamesSizeBytes'),
    timestamp: _s.extractXmlIntValue(elem, 'Timestamp'),
  );
}