toConnectionState method
Implementation
XmppConnectionState toConnectionState() {
return XmppConnectionState.values.firstWhere((XmppConnectionState e) {
return e.name.toString().toLowerCase() == this.toLowerCase();
}, orElse: () {
return XmppConnectionState.disconnected;
});
}