doc method

DocumentReference doc(
  1. String documentPath
)

Gets a DocumentReference instance that refers to the document at the specified path. The documentPath parameter is a slash-separated path to a document.

Returns non-null DocumentReference instance.

Implementation

DocumentReference doc(String documentPath) =>
    DocumentReference.getInstance(jsObject.doc(documentPath));