StartActivityStreamResponse.fromXml constructor
StartActivityStreamResponse.fromXml(
- XmlElement elem
Implementation
factory StartActivityStreamResponse.fromXml(_s.XmlElement elem) {
return StartActivityStreamResponse(
applyImmediately: _s.extractXmlBoolValue(elem, 'ApplyImmediately'),
kinesisStreamName: _s.extractXmlStringValue(elem, 'KinesisStreamName'),
kmsKeyId: _s.extractXmlStringValue(elem, 'KmsKeyId'),
mode: _s.extractXmlStringValue(elem, 'Mode')?.toActivityStreamMode(),
status:
_s.extractXmlStringValue(elem, 'Status')?.toActivityStreamStatus(),
);
}