getSubCollectionRef<T extends FireStoreDoc> abstract method

CollectionReference<T> getSubCollectionRef<T extends FireStoreDoc>(
  1. String collectionPath,
  2. String docPath,
  3. String subCollection,
  4. FromFirestore<T> fromFirestore,
)

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

Implementation

CollectionReference<T> getSubCollectionRef<T extends FireStoreDoc>(
  String collectionPath,
  String docPath,
  String subCollection,
  FromFirestore<T> fromFirestore,
);