SourceBuildInformation.fromXml constructor

SourceBuildInformation.fromXml(
  1. XmlElement elem
)

Implementation

factory SourceBuildInformation.fromXml(_s.XmlElement elem) {
  return SourceBuildInformation(
    sourceLocation: _s.extractXmlStringValue(elem, 'SourceLocation')!,
    sourceRepository: _s
        .extractXmlStringValue(elem, 'SourceRepository')!
        .toSourceRepository(),
    sourceType: _s.extractXmlStringValue(elem, 'SourceType')!.toSourceType(),
  );
}