ConnectionDraining.fromXml constructor

ConnectionDraining.fromXml(
  1. XmlElement elem
)

Implementation

factory ConnectionDraining.fromXml(_s.XmlElement elem) {
  return ConnectionDraining(
    enabled: _s.extractXmlBoolValue(elem, 'Enabled')!,
    timeout: _s.extractXmlIntValue(elem, 'Timeout'),
  );
}