SendDataPoint.fromXml constructor

SendDataPoint.fromXml(
  1. XmlElement elem
)

Implementation

factory SendDataPoint.fromXml(_s.XmlElement elem) {
  return SendDataPoint(
    bounces: _s.extractXmlIntValue(elem, 'Bounces'),
    complaints: _s.extractXmlIntValue(elem, 'Complaints'),
    deliveryAttempts: _s.extractXmlIntValue(elem, 'DeliveryAttempts'),
    rejects: _s.extractXmlIntValue(elem, 'Rejects'),
    timestamp: _s.extractXmlDateTimeValue(elem, 'Timestamp'),
  );
}