streamFind method

Stream<T?> streamFind(
  1. String docId
)

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);
  });
}