PeerLink.parse constructor

PeerLink.parse(
  1. XmlElement element
)

Parse constructor for the PeerLink class, used when 'parsing' a feed

Implementation

factory PeerLink.parse(XmlElement element) => PeerLink(
      type: element.getAttribute('type'),
      href: element.getAttribute('href'),
      value: element.innerText,
    );