ref property Null safety

DocumentReference ref

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

Implementation

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