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