ForwardActionConfig.fromXml constructor

ForwardActionConfig.fromXml(
  1. XmlElement elem
)

Implementation

factory ForwardActionConfig.fromXml(_s.XmlElement elem) {
  return ForwardActionConfig(
    targetGroupStickinessConfig: _s
        .extractXmlChild(elem, 'TargetGroupStickinessConfig')
        ?.let((e) => TargetGroupStickinessConfig.fromXml(e)),
    targetGroups: _s.extractXmlChild(elem, 'TargetGroups')?.let((elem) => elem
        .findElements('member')
        .map((c) => TargetGroupTuple.fromXml(c))
        .toList()),
  );
}