currentUser property
OwnUser?
currentUser
The current user
Implementation
OwnUser? get currentUser => _currentUserController.valueOrNull;
Sets the user currently interacting with the client note: this fully overrides the currentUser
Implementation
set currentUser(OwnUser? user) {
_computeUnreadCounts(user);
_currentUserController.add(user);
}