OriginSslProtocols.fromXml constructor

OriginSslProtocols.fromXml(
  1. XmlElement elem
)

Implementation

factory OriginSslProtocols.fromXml(_s.XmlElement elem) {
  return OriginSslProtocols(
    items: _s
        .extractXmlStringListValues(
            _s.extractXmlChild(elem, 'Items')!, 'SslProtocol')
        .map((s) => s.toSslProtocol())
        .toList(),
    quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
  );
}