EndPoint.fromXml constructor

EndPoint.fromXml(
  1. XmlElement elem
)

Implementation

factory EndPoint.fromXml(_s.XmlElement elem) {
  return EndPoint(
    streamType: _s.extractXmlStringValue(elem, 'StreamType')!,
    kinesisStreamConfig: _s
        .extractXmlChild(elem, 'KinesisStreamConfig')
        ?.let((e) => KinesisStreamConfig.fromXml(e)),
  );
}