document method

DocumentReference document(
  1. String path, {
  2. String? studyId,
})

Gets a DocumentReference for the specified path.

studyId can be omitted if specified as part of this service's study.

Implementation

DocumentReference document(String path, {String? studyId}) =>
    DocumentReference._path(this, getStudyId(studyId), path);