TargetHealthDescription.fromXml constructor

TargetHealthDescription.fromXml(
  1. XmlElement elem
)

Implementation

factory TargetHealthDescription.fromXml(_s.XmlElement elem) {
  return TargetHealthDescription(
    healthCheckPort: _s.extractXmlStringValue(elem, 'HealthCheckPort'),
    target: _s
        .extractXmlChild(elem, 'Target')
        ?.let((e) => TargetDescription.fromXml(e)),
    targetHealth: _s
        .extractXmlChild(elem, 'TargetHealth')
        ?.let((e) => TargetHealth.fromXml(e)),
  );
}