InterfaceMode.fromXML constructor
InterfaceMode.fromXML(
- String xmlSTR
Implementation
factory InterfaceMode.fromXML(String xmlSTR) {
final document = XmlDocument.parse(xmlSTR);
String mode = document.firstChild!.attributes.firstWhere((element) => element.name.toString() == "mode").value;
return InterfaceMode(mode: mode);
}