getRating method

Future<VideoGetRatingResponse> getRating({
  1. required String id,
  2. String? onBehalfOfContentOwner,
})

Retrieves the ratings that the authorized user gave to a list of specified videos.

Implementation

Future<VideoGetRatingResponse> getRating(
    {required String id, String? onBehalfOfContentOwner}) async {
  return await _rest.getRating(_authHeader, accept, id,
      onBehalfOfContentOwner: onBehalfOfContentOwner);
}