getCommentMediaItem method

Future<CommentMediaItem> getCommentMediaItem(
  1. String id, {
  2. bool extendedFull = false,
})

Returns the media item this comment is attached to.

The media type can be movie, show, season, episode, or list and it also returns the standard media object for that media type.

id - A specific comment ID

✨ Extended Info

Implementation

Future<CommentMediaItem> getCommentMediaItem(String id,
    {bool extendedFull = false}) async {
  return await _manager._get<CommentMediaItem>("comments/$id/item",
      extendedFull: extendedFull);
}