SourceData.fromXml constructor

SourceData.fromXml(
  1. XmlElement elem
)

Implementation

factory SourceData.fromXml(_s.XmlElement elem) {
  return SourceData(
    sourceName: _s.extractXmlStringValue(elem, 'SourceName')!,
    defaultValue: _s.extractXmlStringValue(elem, 'DefaultValue'),
  );
}