PropertyDifference.fromXml constructor

PropertyDifference.fromXml(
  1. XmlElement elem
)

Implementation

factory PropertyDifference.fromXml(_s.XmlElement elem) {
  return PropertyDifference(
    actualValue: _s.extractXmlStringValue(elem, 'ActualValue')!,
    differenceType:
        _s.extractXmlStringValue(elem, 'DifferenceType')!.toDifferenceType(),
    expectedValue: _s.extractXmlStringValue(elem, 'ExpectedValue')!,
    propertyPath: _s.extractXmlStringValue(elem, 'PropertyPath')!,
  );
}