Query a single document from Firestore in Flutter (cloud_firestore Plugin)
问题 I want to retrieve data of only a single document via its ID. My approach with example data of: TESTID1 { 'name': 'example', 'data': 'sample data', } was something like this: Firestore.instance.document('TESTID1').get() => then(function(document) { print(document('name')); } but that does not seem to be correct syntax. I was not able to find any detailed documentation on querying firestore within flutter (dart) since the firebase documentation only addresses Native WEB, iOS, Android etc. but