ResourceTargetDefinition.fromXml constructor

ResourceTargetDefinition.fromXml(
  1. XmlElement elem
)

Implementation

factory ResourceTargetDefinition.fromXml(_s.XmlElement elem) {
  return ResourceTargetDefinition(
    attribute:
        _s.extractXmlStringValue(elem, 'Attribute')?.toResourceAttribute(),
    name: _s.extractXmlStringValue(elem, 'Name'),
    requiresRecreation: _s
        .extractXmlStringValue(elem, 'RequiresRecreation')
        ?.toRequiresRecreation(),
  );
}