rate method Null safety

Future<void> rate(
  1. {required String id,
  2. required String rating}
)

Add a like or dislike rating to a VideoItem or remove a rating from a VideoItem.

Implementation

Future<void> rate({required String id, required String rating}) async {
  return await _rest.rate(_authHeader, accept, id, rating);
}