doc property

QueryDocumentSnapshot<T> doc
final

Returns the newly added or modified document if this DocumentChange is for an updated document. Returns the deleted document if this document change represents a removal.

Returns a snapshot of the new data (for DocumentChangeType.added or DocumentChangeType.modified) or the removed data (for DocumentChangeType.removed).

Implementation

final QueryDocumentSnapshot<T> doc;