License.parse constructor

License.parse(
  1. XmlElement element
)

Implementation

factory License.parse(XmlElement element) {
  return License(
    type: element.getAttribute('type'),
    href: element.getAttribute('href'),
    value: element.value,
  );
}