unSubscribeChannel method

dynamic unSubscribeChannel({
  1. required String channel,
  2. GoogleApisClientApiKey? googleApisClientApiKey,
})

Implementation

unSubscribeChannel({
  required String channel,
  GoogleApisClientApiKey? googleApisClientApiKey,
}) async {
  YouTubeApi youTubeApi =
      await youTubeApiClient(googleApisClientApiKey: googleApisClientApiKey);
  return await youTubeApi.subscriptions.delete(
    channel,
  );
}