QueryDocumentSnapshot contains data read from a document in your Cloud
Firestore database as part of a query. The document is guaranteed to exist and its data can
be extracted using the
or the various
get() methods in
QueryDocumentSnapshot offers the same API surface as
DocumentSnapshot. Since query results contain only existing documents, the
method will always return true and
will never be
Subclassing Note: Cloud Firestore classes are not meant to be subclassed except for use in test mocks. Subclassing is not supported in production code and new SDK releases may break code that does so.
Public Method Summary
Returns the fields of the document as a Map.