getComment method

Future<Comment> getComment(
  1. String uuid
)

Get a comment by uuid.

Implementation

Future<Comment> getComment(String uuid) async {
  APIHttpResponse response = await httpClient.get('/comment/$uuid');

  return Comment.fromMap(response.data);
}