ServersList.fromXMLElement constructor

ServersList.fromXMLElement(
  1. XmlElement? element
)

Implementation

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