Restrictions.fromXml constructor

Restrictions.fromXml(
  1. XmlElement elem
)

Implementation

factory Restrictions.fromXml(_s.XmlElement elem) {
  return Restrictions(
    geoRestriction:
        GeoRestriction.fromXml(_s.extractXmlChild(elem, 'GeoRestriction')!),
  );
}