Error.fromXml constructor
Error.fromXml(
- XmlElement xml
Implementation
Error.fromXml(XmlElement xml) {
code = getProp(xml, 'Code')?.innerText;
key = getProp(xml, 'Key')?.innerText;
message = getProp(xml, 'Message')?.innerText;
versionId = getProp(xml, 'VersionId')?.innerText;
}