DeviceUnlockRequest.fromXML constructor
DeviceUnlockRequest.fromXML(
- String xmlSTR
Implementation
factory DeviceUnlockRequest.fromXML(String xmlSTR) {
final document = XmlDocument.parse(xmlSTR);
String messageID = document.rootElement.attributes
.firstWhere((p0) => p0.name.toString() == "messageID")
.value;
return DeviceUnlockRequest(messageID: int.parse(messageID));
}