doc method

DocumentReference<Map<String, Object?>> doc(
  1. String documentPath
)

Gets a DocumentReference that refers to the document at documentPath.

Implementation

DocumentReference<Map<String, Object?>> doc(String documentPath) {
  checkNonEmptyPath('Firestore.doc', documentPath);
  return DocumentReference<Map<String, Object?>>.forPath(
    ResourcePath.fromString(documentPath),
    this,
  );
}