static bool validateYouTubeVideoURL({required String url}) { final RegExp pattern = RegExp(youtubeRegex); final bool match = pattern.hasMatch(url); return match; }