parse static method

Copyright? parse(
  1. XmlElement? element
)

Implementation

static Copyright? parse(XmlElement? element) {
  if (element == null) {
    return null;
  }

  return Copyright(
    url: element.getAttribute('url'),
    value: element.innerText,
  );
}