Change.fromXml constructor

Change.fromXml(
  1. XmlElement elem
)

Implementation

factory Change.fromXml(_s.XmlElement elem) {
  return Change(
    resourceChange: _s
        .extractXmlChild(elem, 'ResourceChange')
        ?.let((e) => ResourceChange.fromXml(e)),
    type: _s.extractXmlStringValue(elem, 'Type')?.toChangeType(),
  );
}