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