connect method

Future<void> connect()

Explicitly calling connect() is unnecessary unless the autoConnect attribute of the ClientOptions object is false.

Unless already connected or connecting, this method causes the connection to open, entering the ConnectionState.connecting state.

Implementation

Future<void> connect() => realtime.connect();