OpmlItem.parseWithoutNested constructor

OpmlItem.parseWithoutNested(
  1. XmlNode element
)

Implementation

factory OpmlItem.parseWithoutNested(XmlNode element) {
  return OpmlItem(
    title: element.getAttribute('title'),
    text: element.getAttribute('text'),
    description: element.getAttribute('description'),
    type: element.getAttribute('type'),
    version: element.getAttribute('version'),
    xmlUrl: element.getAttribute('xmlUrl'),
    htmlUrl: element.getAttribute('htmlUrl'),
    language: element.getAttribute('language'),
  );
}