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