collection method

CollectionReference collection(
  1. String path, {
  2. String? studyId,
})

Gets a CollectionReference for the path.

Implementation

CollectionReference collection(String path, {String? studyId}) =>
    CollectionReference._(this, getStudyId(studyId), path);