title: The argument type 'QueryDocumentSnapshot' can't be assigned to the parameter type 'AsyncSnapshot<dynamic>'
body: <p>I try to fetch data from firestore using for snapshot loop but got an error.</p>
  <p>here's my code:</p>
  <pre><code>Future&lt;List&lt;Product&gt;&gt; getProducts() =&gt; _firestore
    .collection(collection)
    .where('show', isEqualTo: true)
    .get()
    .then((snap) {
  List&lt;Product&gt; products = [];
  for (int i = 0; i &lt; snap.docs.length; i++) {
    products.add(Product.fromSnapshot(snap.docs[i]));
  }
  return products;
  });
  </code></pre>
  <p>the error is at (snap.docs[i]].</p>