HsmConfigurationMessage.fromXml constructor

HsmConfigurationMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory HsmConfigurationMessage.fromXml(_s.XmlElement elem) {
  return HsmConfigurationMessage(
    hsmConfigurations: _s.extractXmlChild(elem, 'HsmConfigurations')?.let(
        (elem) => elem
            .findElements('HsmConfiguration')
            .map((c) => HsmConfiguration.fromXml(c))
            .toList()),
    marker: _s.extractXmlStringValue(elem, 'Marker'),
  );
}