currentUser property

User? currentUser

The current connected User. null if connect is not called.

Implementation

static User? get currentUser {
  return _instance._chat.currentUser;
}