title: Flutter Firestore documentsnapshot to Map
body: <p>For my flutter app, I am fetching a collection as a querysnapshot and converting it into a list using:</p>
  <pre><code>var dataList = snapShot.docs.map((e) =&gt; e.data()).toList();
  </code></pre>
  <p>Works like a charm, no issues till now.</p>
  <p>Lately, I've been trying to manipulate the data in the collection and for that, I need the docId. But for some reason, the list does not have the docId included.</p>
  <p>There should be a quick way of including the doc id while converting a snapshot to a list.</p>
  <p>Can someone please help? Thanks.</p>