ListHealthChecksResponse.fromXml constructor

ListHealthChecksResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListHealthChecksResponse.fromXml(_s.XmlElement elem) {
  return ListHealthChecksResponse(
    healthChecks: _s
        .extractXmlChild(elem, 'HealthChecks')!
        .findElements('HealthCheck')
        .map((c) => HealthCheck.fromXml(c))
        .toList(),
    isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated')!,
    marker: _s.extractXmlStringValue(elem, 'Marker')!,
    maxItems: _s.extractXmlStringValue(elem, 'MaxItems')!,
    nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
  );
}