reference property

DocumentReference<T> get reference

The reference to the document, with the converter of this snapshot.

await snapshot.reference.update({'visited': true});

Implementation

DocumentReference<T> get reference =>
    DocumentReferenceInternal.create<T>(_key, _firestore, _converter);