ParameterConstraints.fromXml constructor

ParameterConstraints.fromXml(
  1. XmlElement elem
)

Implementation

factory ParameterConstraints.fromXml(_s.XmlElement elem) {
  return ParameterConstraints(
    allowedValues: _s
        .extractXmlChild(elem, 'AllowedValues')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
  );
}