getDocumentRef<T extends FireStoreDoc> abstract method

DocumentReference<T> getDocumentRef<T extends FireStoreDoc>(
  1. String path,
  2. FromFirestore<T> fromFirestore
)

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

Implementation

DocumentReference<T> getDocumentRef<T extends FireStoreDoc>(
  String path,
  FromFirestore<T> fromFirestore,
);