listen method

Future<void> listen(
  1. String eventName
)

Listens to a specific event from the socket.

Throws SocketNotConnectedException if not connected. Throws SocketEventException if event listening fails.

Implementation

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