RoleUsageType.fromXml constructor

RoleUsageType.fromXml(
  1. XmlElement elem
)

Implementation

factory RoleUsageType.fromXml(_s.XmlElement elem) {
  return RoleUsageType(
    region: _s.extractXmlStringValue(elem, 'Region'),
    resources: _s
        .extractXmlChild(elem, 'Resources')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
  );
}