streamFind method
To stream document data by document id call streamFind as pass docId
Stream
Implementation
Stream<T?> streamFind(String docId) {
return _collectionReference.doc(docId).snapshots().map((doc) {
return _toModel(doc);
});
}
To stream document data by document id call streamFind as pass docId
Stream
Stream<T?> streamFind(String docId) {
return _collectionReference.doc(docId).snapshots().map((doc) {
return _toModel(doc);
});
}