Limits.fromXml constructor

Limits.fromXml(
  1. XmlElement elem
)

Implementation

factory Limits.fromXml(_s.XmlElement elem) {
  return Limits(
    maximumPartitionCount:
        _s.extractXmlIntValue(elem, 'MaximumPartitionCount')!,
    maximumReplicationCount:
        _s.extractXmlIntValue(elem, 'MaximumReplicationCount')!,
  );
}