InterfaceLevel.fromXML constructor
InterfaceLevel.fromXML(
- String xmlSTR
Implementation
factory InterfaceLevel.fromXML(String xmlSTR) {
final document = XmlDocument.parse(xmlSTR);
String level = document.rootElement.attributes
.firstWhere((p0) => p0.name.toString() == "level")
.value;
String wsLocalPath = document.rootElement.attributes
.firstWhere((p0) => p0.name.toString() == "wsLocalPath")
.value;
String xsdVersion = document.rootElement.attributes
.firstWhere((p0) => p0.name.toString() == "xsdVersion")
.value;
return InterfaceLevel(
level: level, wsLocalPath: wsLocalPath, xsdVersion: xsdVersion);
}