HsmConfiguration.fromXml constructor
HsmConfiguration.fromXml(
- XmlElement elem
Implementation
factory HsmConfiguration.fromXml(_s.XmlElement elem) {
return HsmConfiguration(
description: _s.extractXmlStringValue(elem, 'Description'),
hsmConfigurationIdentifier:
_s.extractXmlStringValue(elem, 'HsmConfigurationIdentifier'),
hsmIpAddress: _s.extractXmlStringValue(elem, 'HsmIpAddress'),
hsmPartitionName: _s.extractXmlStringValue(elem, 'HsmPartitionName'),
tags: _s.extractXmlChild(elem, 'Tags')?.let((elem) =>
elem.findElements('Tag').map((c) => Tag.fromXml(c)).toList()),
);
}