TaggedResource.fromXml constructor

TaggedResource.fromXml(
  1. XmlElement elem
)

Implementation

factory TaggedResource.fromXml(_s.XmlElement elem) {
  return TaggedResource(
    resourceName: _s.extractXmlStringValue(elem, 'ResourceName'),
    resourceType: _s.extractXmlStringValue(elem, 'ResourceType'),
    tag: _s.extractXmlChild(elem, 'Tag')?.let((e) => Tag.fromXml(e)),
  );
}