SourceRegionMessage.fromXml constructor
SourceRegionMessage.fromXml(
- XmlElement elem
Implementation
factory SourceRegionMessage.fromXml(_s.XmlElement elem) {
return SourceRegionMessage(
marker: _s.extractXmlStringValue(elem, 'Marker'),
sourceRegions: _s.extractXmlChild(elem, 'SourceRegions')?.let((elem) =>
elem
.findElements('SourceRegion')
.map((c) => SourceRegion.fromXml(c))
.toList()),
);
}