ChatStateElement.fromStanza constructor
ChatStateElement.fromStanza(
- XmppElement stanza
Implementation
ChatStateElement.fromStanza(XmppElement stanza) {
state = stateFromString(stanza.name!);
for (var attribute in stanza.attributes) {
addAttribute(attribute);
}
for (var child in stanza.children) {
addChild(child);
}
}