ref property

The document this result was read from, or null if this result is not a document.

Implementation

DocumentReference<Map<String, Object?>>? get ref {
  final DocumentKey? key = _key;
  return key == null
      ? null
      : DocumentReferenceInternal.create<Map<String, Object?>>(
          key,
          _firestore,
        );
}