parse static method

Hash? parse(
  1. XmlElement? element
)

Implementation

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