matchUrls function
Implementation
bool matchUrls(String url) {
final dropboxPattern = RegExp(r'^https://www\.dropbox\.com/');
final savannaPattern = RegExp(r'^https://aac\.saavncdn\.com/');
final googleStoragePattern = RegExp(r'^https://storage\.googleapis\.com/');
final cloudFlarePattern = RegExp(r'^https://pub-[a-zA-Z0-9]{20}\.r2\.dev$');
return dropboxPattern.hasMatch(url) ||
savannaPattern.hasMatch(url) ||
googleStoragePattern.hasMatch(url) || cloudFlarePattern.hasMatch(url);
}