parse static method

Title? parse(
  1. XmlElement? element
)

Implementation

static Title? parse(XmlElement? element) {
  if (element == null) {
    return null;
  }
  return Title(
    type: element.getAttribute('type'),
    value: element.text,
  );
}