ActiveTrustedSigners.fromXml constructor

ActiveTrustedSigners.fromXml(
  1. XmlElement elem
)

Implementation

factory ActiveTrustedSigners.fromXml(_s.XmlElement elem) {
  return ActiveTrustedSigners(
    enabled: _s.extractXmlBoolValue(elem, 'Enabled')!,
    quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
    items: _s.extractXmlChild(elem, 'Items')?.let((elem) =>
        elem.findElements('Signer').map((c) => Signer.fromXml(c)).toList()),
  );
}