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