PendingMaintenanceActionsMessage.fromXml constructor

PendingMaintenanceActionsMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory PendingMaintenanceActionsMessage.fromXml(_s.XmlElement elem) {
  return PendingMaintenanceActionsMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    pendingMaintenanceActions: _s
        .extractXmlChild(elem, 'PendingMaintenanceActions')
        ?.let((elem) => elem
            .findElements('ResourcePendingMaintenanceActions')
            .map((c) => ResourcePendingMaintenanceActions.fromXml(c))
            .toList()),
  );
}