discontinuedPackage firebase has been discontinued and replaced by firebase_core.

CollectionReference constructor

CollectionReference()

Creates a new CollectionReference

Implementation

factory CollectionReference() => CollectionReference._fromJsObject(
    firestore_interop.CollectionReferenceJsImpl());