Credit.parse constructor

Credit.parse(
  1. XmlElement element
)

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

Implementation

factory Credit.parse(XmlElement element) => Credit(
      role: element.getAttribute('role'),
      scheme: element.getAttribute('scheme'),
      value: element.innerText,
    );