document method

Document document(
  1. String documentId
)

Returns a document.

Example:

ds.collection('exampleCollection').document('exampleDocument').get();

Implementation

Document document(String documentId) {
  return Document(this, documentId);
}