Restriction.parse constructor
Restriction.parse(
- XmlElement element
Parse constructor for the Restriction class, used when 'parsing' a feed
Implementation
factory Restriction.parse(XmlElement element) => Restriction(
relationship: element.getAttribute('relationship'),
type: element.getAttribute('type'),
value: element.text,
);