getChannelIdFromVideo method

String getChannelIdFromVideo(
  1. String videoUrl
)

Gets a Video instance from a Uri with caching.

Implementation

String getChannelIdFromVideo(String videoUrl) {
  Video video = _videoCache[videoUrl]!;
  return video.channelId.value;
}