load method
Implementation
load(String url) async {
list.clear();
// perform inventory
final response = await Http.get(url);
// error?
if (!response.ok) {
Log().error('Error calling mirror $url. ${response.statusCode} ${response.statusMessage}');
return;
}
// parse
XmlDocument? document = Xml.tryParse(response.body);
if (document != null) deserialize(document.rootElement);
}