Kab1r/cloud_firestore_all

DocumentSnapshot.documentID does not seem to exist

Closed this issue · 3 comments

G'Day,
According to the cloud_firestore API (https://pub.dev/documentation/cloud_firestore/latest/cloud_firestore/DocumentSnapshot-class.html), there should be a documentID.

I couldn't find it.

Please correct this.
Cheers,
Phil.

Kab1r commented

DocumentSnapshot has an id field

Kab1r commented

Some of the fields and methods follow the firebase package's semantics.

Kab1r commented

Changing this would cause breaking changes.