ServersList.fromXMLElement constructor
ServersList.fromXMLElement(
- XmlElement? element
Implementation
ServersList.fromXMLElement(XmlElement? element)
: servers = element!.getElement('servers')!.children!.map((element) {
final server = Server.fromXMLElement(element as XmlElement);
return server;
});