IqStanza constructor
IqStanza(
- String? id,
- IqStanzaType type
Implementation
IqStanza(String? id, IqStanzaType type) {
name = 'iq';
this.id = id;
this.type = type;
addAttribute(
XmppAttribute('type', type.toString().split('.').last.toLowerCase()));
}