DBSnapshotAttributesResult.fromXml constructor

DBSnapshotAttributesResult.fromXml(
  1. XmlElement elem
)

Implementation

factory DBSnapshotAttributesResult.fromXml(_s.XmlElement elem) {
  return DBSnapshotAttributesResult(
    dBSnapshotAttributes: _s
        .extractXmlChild(elem, 'DBSnapshotAttributes')
        ?.let((elem) => elem
            .findElements('DBSnapshotAttribute')
            .map((c) => DBSnapshotAttribute.fromXml(c))
            .toList()),
    dBSnapshotIdentifier:
        _s.extractXmlStringValue(elem, 'DBSnapshotIdentifier'),
  );
}