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