getCommentLikes method

Future<List<CommentLike>> getCommentLikes(
  1. String id, {
  2. RequestPagination? pagination,
})

Returns all users who liked a comment.

If you only need the replies count, the main comment object already has that, so no need to use this method.

id - A specific comment ID

📄 Pagination

Implementation

Future<List<CommentLike>> getCommentLikes(String id,
    {RequestPagination? pagination}) async {
  return await _manager._getList<CommentLike>("comments/$id/likes",
      pagination: pagination);
}