parse static method

Rights? parse(
  1. XmlElement? element
)

Implementation

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

  return Rights(
    status: element.getAttribute('status'),
  );
}