ChangeMessageVisibilityBatchResult.fromXml constructor

ChangeMessageVisibilityBatchResult.fromXml(
  1. XmlElement elem
)

Implementation

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