connect static method

void connect(
  1. LoggedInUser loggedInUser
)

Establishes a connection using the loggedInUser's access token.

Implementation

static void connect(LoggedInUser loggedInUser) async {
  await Session.getInstance().connect(loggedInUser.accessToken.token!);
  PubSubSupervisor.supervisor.start();
}