title: Query a single document from Firestore in Flutter (cloud_firestore Plugin)
body: <p><em>Edit: This Question is outdated, and I am sure, new documentation and more recent answers are available as of now.</em></p>
  <p>I want to retrieve data of only a <strong>single document</strong> via its ID. My approach with example data of:</p>
  <pre><code>TESTID1 {
       'name': 'example', 
       'data': 'sample data',
  }
  </code></pre>
  <p>was something like this:</p>
  <pre><code>Firestore.instance.document('TESTID1').get() =&gt; then(function(document) {
      print(document('name'));
  }
  </code></pre>
  <p>but that does not seem to be correct syntax.</p>
  <p>I was not able to find <em>any detailed documentation on querying firestore</em> within flutter (dart) since the firebase documentation only addresses Native WEB, iOS, Android etc. but not Flutter. The documentation of cloud_firestore is also way too short. There is only one example that shows how to query multiple documents into a stream which is not what i want to do.</p>
  <p>Related issue on missing documentation:
  <a href="https://github.com/flutter/flutter/issues/14324" rel="noreferrer">https://github.com/flutter/flutter/issues/14324</a></p>
  <p>It can't be that hard to get data from a single document.</p>
  <p>UPDATE:</p>
  <pre><code>Firestore.instance.collection('COLLECTION').document('ID')
  .get().then((DocumentSnapshot) =&gt;
        print(DocumentSnapshot.data['key'].toString());
  );
  </code></pre>
  <p>is not executed.</p>