getCollectionRef<T extends FireStoreDoc> abstract method

CollectionReference<T> getCollectionRef<T extends FireStoreDoc>(
  1. String path,
  2. FromFirestore<T> fromFirestore
)

A method that returns a CollectionReference object for a Firestore collection located at a specified path, with a specified fromFirestore function to convert Firestore documents to objects of type T.

Implementation

CollectionReference<T> getCollectionRef<T extends FireStoreDoc>(
  String path,
  FromFirestore<T> fromFirestore,
);