getConnectionState method

Future<XmppConnectionState> getConnectionState()

Returns the ConnectionState of the connection

Implementation

Future<XmppConnectionState> getConnectionState() async {
  return _connectionState;
}