collection method

CollectionReference collection(
  1. String id
)

Implementation

CollectionReference collection(String id) {
  return CollectionReference(_gateway, '$path/$id');
}