OptionRestrictionRegex.fromXml constructor

OptionRestrictionRegex.fromXml(
  1. XmlElement elem
)

Implementation

factory OptionRestrictionRegex.fromXml(_s.XmlElement elem) {
  return OptionRestrictionRegex(
    label: _s.extractXmlStringValue(elem, 'Label'),
    pattern: _s.extractXmlStringValue(elem, 'Pattern'),
  );
}