ReceiptIpFilter.fromXml constructor

ReceiptIpFilter.fromXml(
  1. XmlElement elem
)

Implementation

factory ReceiptIpFilter.fromXml(_s.XmlElement elem) {
  return ReceiptIpFilter(
    cidr: _s.extractXmlStringValue(elem, 'Cidr')!,
    policy: _s.extractXmlStringValue(elem, 'Policy')!.toReceiptFilterPolicy(),
  );
}