StreamingDistribution.fromXml constructor
StreamingDistribution.fromXml(
- XmlElement elem
Implementation
factory StreamingDistribution.fromXml(_s.XmlElement elem) {
return StreamingDistribution(
arn: _s.extractXmlStringValue(elem, 'ARN')!,
activeTrustedSigners: ActiveTrustedSigners.fromXml(
_s.extractXmlChild(elem, 'ActiveTrustedSigners')!),
domainName: _s.extractXmlStringValue(elem, 'DomainName')!,
id: _s.extractXmlStringValue(elem, 'Id')!,
status: _s.extractXmlStringValue(elem, 'Status')!,
streamingDistributionConfig: StreamingDistributionConfig.fromXml(
_s.extractXmlChild(elem, 'StreamingDistributionConfig')!),
lastModifiedTime: _s.extractXmlDateTimeValue(elem, 'LastModifiedTime'),
);
}