Credit.parse constructor

Credit.parse(
  1. XmlElement element
)

Implementation

factory Credit.parse(XmlElement element) {
  return Credit(
    role: element.getAttribute('role'),
    scheme: element.getAttribute('scheme'),
    value: element.innerText,
  );
}