When I get an object directly from a collection in firestore it works just fine, although when I query for it using the where command nothing appears. I'm wonder if I'm incorrectly using the API or there is a bug
await FirebaseFirestore.instance
.collection('games')
.where('status', arrayContains: 'GameStatus.uninitialized')
.get()
.then((value) => {
if (value.docs.isNotEmpty)
{
print(value.docs[0].reference.id),
}
else
{
print('nada'),
}
});