getSingleCommentByIdStream method

Stream<PeamanComment> getSingleCommentByIdStream({
  1. required String feedId,
  2. required String commentId,
})

Implementation

Stream<PeamanComment> getSingleCommentByIdStream({
  required final String feedId,
  required final String commentId,
}) {
  return PeamanReferenceHelper.commentsCol(feedId: feedId)
      .doc(commentId)
      .snapshots()
      .map(_commentFromFirebase);
}