getReplies method

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

Returns all replies for a comment.

It is possible these replies could have replies themselves, so in that case you would just call /comments/:id/replies again with the new comment id.

id - A specific comment ID

📄 Pagination 😁 Emojis

Implementation

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