TrustedKeyGroups.fromXml constructor
TrustedKeyGroups.fromXml(
- XmlElement elem
Implementation
factory TrustedKeyGroups.fromXml(_s.XmlElement elem) {
return TrustedKeyGroups(
enabled: _s.extractXmlBoolValue(elem, 'Enabled')!,
quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
items: _s
.extractXmlChild(elem, 'Items')
?.let((elem) => _s.extractXmlStringListValues(elem, 'KeyGroup')),
);
}