collection method Null safety

CollectionReference<Map<String, dynamic>> collection(
  1. String collectionPath
)

Gets a CollectionReference instance that refers to the collection at the specified path, relative from this DocumentReference.

Implementation

CollectionReference<Map<String, dynamic>> collection(String collectionPath);