collection method

CollectionReference collection(
  1. String name
)

Returns the reference of a collection contained inside of this document.

Implementation

CollectionReference collection(String name) =>
    (service as CarpService).collection("$path/$name");