collection method

CollectionReference collection(
  1. String collectionPath
)

Gets a CollectionReference instance that refers to the collection at the specified path.

@param collectionPath A slash-separated path to a collection. @return The CollectionReference instance.

Implementation

external CollectionReference collection(String collectionPath);