ReplicationConfiguration.fromXml constructor

ReplicationConfiguration.fromXml(
  1. XmlElement elem
)

Implementation

factory ReplicationConfiguration.fromXml(_s.XmlElement elem) {
  return ReplicationConfiguration(
    role: _s.extractXmlStringValue(elem, 'Role')!,
    rules: elem
        .findElements('Rule')
        .map((c) => ReplicationRule.fromXml(c))
        .toList(),
  );
}