i'm developing a chat system where i have a chat room that store the id's of the sender and receiver at this room , i want to query on this room where the current logged in user id is equal to sender or receiver id in the chat room collection.
i've used this as follows
final docRef = db.collection("chat-rooms").where('user_1',isEqualTo: Account.current.uid);
but this only works only on the field ' user_1 '