OwnershipControls.fromXml constructor

OwnershipControls.fromXml(
  1. XmlElement elem
)

Implementation

factory OwnershipControls.fromXml(_s.XmlElement elem) {
  return OwnershipControls(
    rules: elem
        .findElements('Rule')
        .map((c) => OwnershipControlsRule.fromXml(c))
        .toList(),
  );
}