Hash.parse constructor

Hash.parse(
  1. XmlElement element
)

Implementation

factory Hash.parse(XmlElement element) {
  return Hash(
    algo: element.getAttribute('algo'),
    value: element.text,
  );
}