Range.fromXml constructor

Range.fromXml(
  1. XmlElement elem
)

Implementation

factory Range.fromXml(_s.XmlElement elem) {
  return Range(
    from: _s.extractXmlIntValue(elem, 'From'),
    step: _s.extractXmlIntValue(elem, 'Step'),
    to: _s.extractXmlIntValue(elem, 'To'),
  );
}