Multiple Firestore queries for a single Flutter screen, reg
I have to query different firestore collections from a single flutter screen. A sample looks like final membersRef = db.collection("members").doc(memberId); final noOfEventsRef = db.collection('events').where('year', isEqualTo: thisYear).count(); final myAttendance = db.collection('events').where('year', isEqualTo: thisYear).where('attendees', arrayContains: widget.memberId).count(); final dailyQuoteRef = db.collection('daily-quote').doc('JVX9rjht1P6SK5rtg8'); So first…