I have a cloud firestore collection which am trying to reference in a stream builder like this:
stream:Firestore.instance.collection('htOne').document('path1')
.collection('path2').document('hats').collection('hat')
.where("${curntUser.isNotEmpty?curntUser:'me'}",isEqualTo: true).orderBy('timesent',descending: true).limit(1000).snapshots(),
The filed for the where clause is going to vary depending on the individual using the app.This would be different for everyone, which means that i'd have to create a composite key every time this filed is created and may not even know this field. Is there a way to get around this?