I want to iterate over all document in my collection and grab a particular field value and append it to a list.
How can I iterate over all document and get value of "reported" and append it to a list (rep = []). What to write inside queryValues() ?
List rep = []; final FirebaseFirestore _firestore = FirebaseFirestore.instance; final FirebaseAuth _auth = FirebaseAuth.instance; void queryValues() { // what to write here }