getYouTubeVideoId method

String getYouTubeVideoId(
  1. String url
)

Implementation

String getYouTubeVideoId(String url) {
  final List data = url.split("v=");
  return data[1];
}