disconnect method

Future<void> disconnect()

Disconnects from the socket server.

Throws SocketDisconnectionException if disconnection fails.

Implementation

Future<void> disconnect() {
  throw UnimplementedError('disconnect() has not been implemented.');
}