getUserFromId method
Function for getting ChatUser object from user id
Implementation
ChatUser getUserFromId(String userId) {
final user = userId == currentUser.id ? currentUser : _otherUsers[userId];
if (user == null) throw Exception('User with ID $userId not found!');
return user;
}