ref property

Non-null DocumentReference for the document included in the DocumentSnapshot.

Implementation

DocumentReference get ref => DocumentReference.getInstance(jsObject.ref);