Guid.parse constructor

Guid.parse(
  1. XmlElement element
)

Factory method to parse an XmlElement and create a Guid object from it.

The element is an XML element containing the GUID information.

Returns the parsed Guid object.

Implementation

factory Guid.parse(XmlElement element) {
  return Guid(
    value: element.innerText,
  );
}