SnapshotCopyGrantMessage.fromXml constructor

SnapshotCopyGrantMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory SnapshotCopyGrantMessage.fromXml(_s.XmlElement elem) {
  return SnapshotCopyGrantMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    snapshotCopyGrants: _s.extractXmlChild(elem, 'SnapshotCopyGrants')?.let(
        (elem) => elem
            .findElements('SnapshotCopyGrant')
            .map((c) => SnapshotCopyGrant.fromXml(c))
            .toList()),
  );
}