PendingCloudwatchLogsExports.fromXml constructor

PendingCloudwatchLogsExports.fromXml(
  1. XmlElement elem
)

Implementation

factory PendingCloudwatchLogsExports.fromXml(_s.XmlElement elem) {
  return PendingCloudwatchLogsExports(
    logTypesToDisable: _s
        .extractXmlChild(elem, 'LogTypesToDisable')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
    logTypesToEnable: _s
        .extractXmlChild(elem, 'LogTypesToEnable')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
  );
}