getSingleCommentById method

Future<PeamanComment> getSingleCommentById({
  1. required String feedId,
  2. required String commentId,
})

Implementation

Future<PeamanComment> getSingleCommentById({
  required final String feedId,
  required final String commentId,
}) {
  return PeamanReferenceHelper.commentsCol(feedId: feedId)
      .doc(commentId)
      .get()
      .then(_commentFromFirebase);
}