currentUser property

User? get currentUser

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

Implementation

User? get currentUser {
  return SendbirdChat.currentUser;
}