DeleteMessageBatchResult.fromXml constructor

DeleteMessageBatchResult.fromXml(
  1. XmlElement elem
)

Implementation

factory DeleteMessageBatchResult.fromXml(_s.XmlElement elem) {
  return DeleteMessageBatchResult(
    failed: elem
        .findElements('BatchResultErrorEntry')
        .map((c) => BatchResultErrorEntry.fromXml(c))
        .toList(),
    successful: elem
        .findElements('DeleteMessageBatchResultEntry')
        .map((c) => DeleteMessageBatchResultEntry.fromXml(c))
        .toList(),
  );
}