getYouTubeThumbnail method
Returns YouTube thumbnail image URL for the given video ID.
Implementation
String getYouTubeThumbnail({bool trimWhitespaces = true}) {
return 'https://img.youtube.com/vi/${toYouTubeId(trimWhitespaces: trimWhitespaces)}/maxresdefault.jpg';
}